cache: fix readBigSmart

This commit is contained in:
Adam
2017-12-28 21:00:06 -05:00
parent 54c61857c1
commit e685ac2491

View File

@@ -132,7 +132,7 @@ public class InputStream extends java.io.InputStream
public int readBigSmart()
{
return peek() >= 0 ? this.readUnsignedShort() : Integer.MAX_VALUE & this.readInt();
return peek() >= 0 ? (this.readUnsignedShort() & 0xFFFF) : (this.readInt() & Integer.MAX_VALUE);
}
public int readBigSmart2()