DescriptionAvoid C++11 narrowing errors.
C++11 is picker about narrowing inside initializers. Avoid errors related to
that by explicitly casting to the appropriate types or changing the types in
function declarations where possible.
BUG=
TEST=Build with gcc and -Wnarrowing.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195114
Patch Set 1 #Patch Set 2 : Try to make MSVC happy #
Messages
Total messages: 12 (0 generated)
|