DescriptionFixes for re-enabling more MSVC level 4 warnings: misc edition #1
This contains fixes for the following sorts of issues:
* Signedness mismatch
The problem here is that using enums to declare bitmasks results in the enum values being signed, when all consumers want to use the values in an unsigned context. Declaring them as consts allows using the more appropriate uint32 type.
In C++11 we could use "enum class" for this, but C++11 isn't legal yet.
BUG=81439
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282419
Patch Set 1 #Patch Set 2 : Restore missing code #
Total comments: 1
Patch Set 3 : Attempt build fix #Patch Set 4 : Another build fix #Patch Set 5 : Build fix, take 3 #
Messages
Total messages: 8 (0 generated)
|