[cfe-commits] r58503 - /cfe/trunk/lib/Lex/Preprocessor.cpp

Sanjiv Gupta sanjiv.gupta at microchip.com
Fri Oct 31 03:24:31 PDT 2008


Author: sgupta
Date: Fri Oct 31 05:24:31 2008
New Revision: 58503

URL: http://llvm.org/viewvc/llvm-project?rev=58503&view=rev
Log:
Fixed build warning. No functionality change.

Modified:
    cfe/trunk/lib/Lex/Preprocessor.cpp

Modified: cfe/trunk/lib/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Preprocessor.cpp?rev=58503&r1=58502&r2=58503&view=diff

==============================================================================
--- cfe/trunk/lib/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/lib/Lex/Preprocessor.cpp Fri Oct 31 05:24:31 2008
@@ -570,8 +570,8 @@
   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)





More information about the cfe-commits mailing list