diff options
Diffstat (limited to 'protocols/Facebook/src/thrift.cpp')
-rw-r--r-- | protocols/Facebook/src/thrift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/thrift.cpp b/protocols/Facebook/src/thrift.cpp index c9b520aa90..202eb31569 100644 --- a/protocols/Facebook/src/thrift.cpp +++ b/protocols/Facebook/src/thrift.cpp @@ -235,7 +235,7 @@ bool FbThriftReader::readIntV(uint64_t &val) if (!readByte(b)) return false; - val |= ((b & 0x7F) << i); + val |= (uint64_t(b & 0x7F) << i); i += 7; } while ((b & 0x80) != 0); |