mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Fixed bug in ByteBuffer.getLong()
This commit is contained in:
parent
2fd2df53fd
commit
1d04186a0c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user