From: Sanjiv Gupta Date: Fri, 31 Oct 2008 10:24:31 +0000 (+0000) Subject: Fixed build warning. No functionality change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73608a89a64401985990f8046f75cdd82309e92f;p=clang Fixed build warning. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58503 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)