DescriptionAdd a missing cast to ValueDeserializer::ReadVarint.
Without this cast, the integer type isn't promoted before being shifted, and so
for types larger than sizeof(int) there is data loss. This will become an issue
once the host begins using this helper to send 64-bit integers.
BUG=chromium:148757
Committed: https://crrev.com/4c0ca533e726de080ad12366e6c56fe8f90b656e
Cr-Commit-Position: refs/heads/master@{#39296}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|