diff options
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index c8c64bf3da..901bcd08ce 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -570,8 +570,8 @@ static void InitializePredefinedMacros(Preprocessor &PP, char MacroBuf[60]; sprintf(MacroBuf, "__INTMAX_MAX__=%lld", (TI.getIntMaxType() == TargetInfo::UnsignedLongLong? - (1LL<<(TI.getLongLongWidth() -1)) : - (1LL<<(TI.getLongLongWidth() -2) -1))); + (1LL << (TI.getLongLongWidth() - 1)) : + ((1LL << (TI.getLongLongWidth() - 2)) - 1))); DefineBuiltinMacro(Buf, MacroBuf); if (TI.getIntMaxType() == TargetInfo::UnsignedLongLong) |