Kaydet (Commit) f1b5381e authored tarafından Michael Stahl's avatar Michael Stahl

formula: PVS-Studio V610 Undefined behavior shift negative signed int

Change-Id: If6c054abfab6ba421a6924a65dac76782e6eaa0b
üst 2298c1a6
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
// Room for 256 reference conventions. // Room for 256 reference conventions.
static const int kEnglishBit = (1 << (kConventionShift + 8)); static const int kEnglishBit = (1 << (kConventionShift + 8));
// Mask off all non-language bits. // Mask off all non-language bits.
static const int kFlagMask = ~((~int(0)) << kConventionShift); static const int kFlagMask = ~((~unsigned(0)) << kConventionShift);
/** Values encoding the formula language plus address reference convention /** Values encoding the formula language plus address reference convention
plus English parsing/formatting plus English parsing/formatting
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment