DescriptionQUIC - use the correct type and fix the formatting fixes.
Changes found while merging the following change from Peter Kasting into
the internal source tree.
"pkasting CL: https://codereview.chromium.org/761863002/
Clean up type usage and fix MSVC "truncated value" warnings in
net/quic/.
The existing code is very inconsistent about whether it uses typedefs
like QuickByteCount and QuicPacketCount or whether it instead uses
fundamental types like uint32, uint64, and size_t. This is not only
more confusing to read, in some cases it leads to MSVC warning about
"possibly truncated value" when one type is implicitly converted to
another, shorter one.
This attempts to fix at least some of these sorts of problems by using
the typedefed types more widely when possible, or else at least the same
basic types other places are already using. It also fixes various
warnings by including explicit casts (sometimes with legality checks)."
No functionality change. Changes to keep the code similar to internal
source tree.
Merge internal change: 81428557
R=rch@chromium.org
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|