mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +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() {
|
||||
checkGet(8);
|
||||
long l = (long)getInt() << 32;
|
||||
l |= (long)getInt() & 0xffffffff;
|
||||
l |= (long)getInt() & 0xffffffffL;
|
||||
return l;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user