You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/04/07 07:25:36 UTC
[plc4x] branch develop updated: - No idea why I have to manually
commit this ; -)
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 7ad72eb - No idea why I have to manually commit this ;-)
7ad72eb is described below
commit 7ad72eb1664253274290c5dcd313971ae38a90f1
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Tue Apr 7 09:25:28 2020 +0200
- No idea why I have to manually commit this ;-)
---
.../src/main/java/org/apache/plc4x/java/spi/generation/ReadBuffer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/generation/ReadBuffer.java b/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/generation/ReadBuffer.java
index 7047c4f..a9087f9 100644
--- a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/generation/ReadBuffer.java
+++ b/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/generation/ReadBuffer.java
@@ -42,7 +42,7 @@ public class ReadBuffer {
ArrayByteInput abi = new ArrayByteInput(input);
this.bi = new MyDefaultBitInput(abi);
this.littleEndian = littleEndian;
- this.totalBytes = (long) input.length;
+ this.totalBytes = input.length;
}
public int getPos() {