From 82d8d559bbc56e2f031980f24cde84f7e4e80b3c Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Sat, 7 Mar 2009 18:35:41 +0000 Subject: Fix warnings in build on clang-x86_64-freebsd buildbot. llvm-svn: 66344 --- clang/lib/Lex/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Lex/Preprocessor.cpp') 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 &Buf) { char MacroBuf[60]; - uint64_t MaxVal; + long long MaxVal; if (isSigned) MaxVal = (1LL << (TypeWidth - 1)) - 1; else -- cgit v1.2.3