Skip to content
Snippets Groups Projects
Commit 73608a89 authored by Sanjiv Gupta's avatar Sanjiv Gupta
Browse files

Fixed build warning. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58503 91177308-0d34-0410-b5e6-96231b3b80d8
parent df2aa1ef
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment