Fixed build warning. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjiv Gupta 2008-10-31 10:24:31 +00:00
Родитель df2aa1efbb
Коммит 73608a89a6
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)