Fixed truncated return value from ReadSignedVarInt64
This commit is contained in:
parent
659c651f8d
commit
f5878e872b
2
external/sourcesdk/bitbuf.cpp
vendored
2
external/sourcesdk/bitbuf.cpp
vendored
@ -1063,7 +1063,7 @@ int32 bf_read::ReadSignedVarInt32()
|
||||
|
||||
int64 bf_read::ReadSignedVarInt64()
|
||||
{
|
||||
uint32 value = ReadVarInt64();
|
||||
uint64 value = ReadVarInt64();
|
||||
return bitbuf::ZigZagDecode64( value );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user