Add 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 Review-Url: https://codereview.chromium.org/2326653002 Cr-Commit-Position: refs/heads/master@{#39296}
Showing
Please
register
or
sign in
to comment