summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-07 18:35:41 +0000
committerMike Stump <mrs@apple.com>2009-03-07 18:35:41 +0000
commit82d8d559bbc56e2f031980f24cde84f7e4e80b3c (patch)
tree537f8ad43154ff8fb6046f0da27697cae835a73d /clang/lib/Lex/Preprocessor.cpp
parent06cc45ec8547fc68579f0c69fb8cd37fa1e542d5 (diff)
downloadbcm5719-llvm-82d8d559bbc56e2f031980f24cde84f7e4e80b3c.tar.gz
bcm5719-llvm-82d8d559bbc56e2f031980f24cde84f7e4e80b3c.zip
Fix warnings in build on clang-x86_64-freebsd buildbot.
llvm-svn: 66344
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index 2a9fa0a85b5..e20b42ac640 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -440,7 +440,7 @@ static void DefineTypeSize(const char *MacroName, unsigned TypeWidth,
const char *ValSuffix, bool isSigned,
std::vector<char> &Buf) {
char MacroBuf[60];
- uint64_t MaxVal;
+ long long MaxVal;
if (isSigned)
MaxVal = (1LL << (TypeWidth - 1)) - 1;
else
OpenPOWER on IntegriCloud