summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/formula/grammar.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/grammar.hxx b/include/formula/grammar.hxx
index 8fe2823a5ea7..4f6a2bcdf2c3 100644
--- a/include/formula/grammar.hxx
+++ b/include/formula/grammar.hxx
@@ -53,7 +53,7 @@ public:
// Room for 256 reference conventions.
static const int kEnglishBit = (1 << (kConventionShift + 8));
// 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
plus English parsing/formatting