]> granicus.if.org Git - clang/commitdiff
Fixed build warning. No functionality change.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 31 Oct 2008 10:24:31 +0000 (10:24 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Fri, 31 Oct 2008 10:24:31 +0000 (10:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58503 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/Preprocessor.cpp

index c8c64bf3da3fc9128b551cdf68324a190ab33354..901bcd08ce3a50988250c04c9b32f8591a1ed746 100644 (file)
@@ -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)