Fixes issue 10

This commit is contained in:
Taro L. Saito 2011-04-06 23:22:10 +09:00
parent bfec17b345
commit bc8a059855
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ public class Snappy
public static long[] uncompressLongArray(byte[] input, int offset, int length) throws SnappyException {
int uncompressedLength = Snappy.uncompressedLength(input, offset, length);
long[] result = new long[uncompressedLength / 8];
int byteSize = SnappyNative.rawUncompress(input, length, length, result, 0);
int byteSize = SnappyNative.rawUncompress(input, offset, length, result, 0);
return result;
}