Content-Length: 261627 | pFad | http://github.com/msgpack/msgpack-java/commit/532199e454ec912082cecb08d3cf08cf0a277d74
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2ce77 commit 532199eCopy full SHA for 532199e
msgpack-core/src/main/java/org/msgpack/value/impl/ImmutableTimestampValueImpl.java
@@ -93,7 +93,7 @@ public byte[] getData()
93
long sec = getEpochSecond();
94
int nsec = getNano();
95
if (sec >>> 34 == 0) {
96
- long data64 = (nsec << 34) | sec;
+ long data64 = ((long) nsec << 34) | sec;
97
if ((data64 & 0xffffffff00000000L) == 0L) {
98
bytes = new byte[4];
99
MessageBuffer.wrap(bytes).putInt(0, (int) sec);
Fetched URL: http://github.com/msgpack/msgpack-java/commit/532199e454ec912082cecb08d3cf08cf0a277d74
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments