diff options
author | Harvey Harrison <[email protected]> | 2012-10-15 20:01:00 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-10-15 20:30:44 -0700 |
commit | 19bee7d8946721b8d094937abf1b33889b7c32e5 (patch) | |
tree | 32a1044d193e24c031e35036dd072d78d15fd12b /src/test-native | |
parent | f8fb65c7cd79743a6501fe63ff1e28479ceedb4f (diff) |
jogl: fix bit shift error in LEDataInputStream
The readlong() method is attempting to build a 64bit value from two 32 bit reads.
The problem is that shifting an int only uses the lower 5 bits of the shift value,
so << 32 is the same as << 0. Cast to long and restore the original intention.
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/test-native')
0 files changed, 0 insertions, 0 deletions