Skip to content

Commit a3e1d1a

Browse files
author
Steve Powell
committed
Mask for int->long unsigned conversion corrected
1 parent 920b85a commit a3e1d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rabbitmq/client/impl/ValueReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public class ValueReader
3838
{
39-
private static final long INT_MASK = 0xffffffff;
39+
private static final long INT_MASK = 0xffffffffL;
4040

4141
/**
4242
* Protected API - Cast an int to a long without extending the

0 commit comments

Comments
 (0)