mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
Fixed bug in ByteBuffer.getLong()
This commit is contained in:
@ -178,7 +178,7 @@ public class ByteBuffer {
|
|||||||
public long getLong() {
|
public long getLong() {
|
||||||
checkGet(8);
|
checkGet(8);
|
||||||
long l = (long)getInt() << 32;
|
long l = (long)getInt() << 32;
|
||||||
l |= (long)getInt() & 0xffffffff;
|
l |= (long)getInt() & 0xffffffffL;
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user