fix unsigned int to long conversion

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-08-09 12:53:05 +00:00
parent 0e3a966465
commit 33a1542335

View File

@ -118,7 +118,7 @@ public class LittleEndian implements LittleEndianConsts {
*/
public static long getUInt(byte[] data, int offset) {
long retNum = getInt(data, offset);
return retNum & 0x00FFFFFFFF;
return retNum & 0x00FFFFFFFFl;
}
/**