Fixed truncated return value from ReadSignedVarInt64

This commit is contained in:
Jordan Cristiano 2015-05-15 17:41:01 -04:00
parent 659c651f8d
commit f5878e872b

View File

@ -1063,7 +1063,7 @@ int32 bf_read::ReadSignedVarInt32()
int64 bf_read::ReadSignedVarInt64() int64 bf_read::ReadSignedVarInt64()
{ {
uint32 value = ReadVarInt64(); uint64 value = ReadVarInt64();
return bitbuf::ZigZagDecode64( value ); return bitbuf::ZigZagDecode64( value );
} }