[cfe-commits] r95812 - /cfe/trunk/lib/CodeGen/CGExprConstant.cpp
Chris Lattner
sabre at nondot.org
Wed Feb 10 13:41:44 PST 2010
Author: lattner
Date: Wed Feb 10 15:41:43 2010
New Revision: 95812
URL: http://llvm.org/viewvc/llvm-project?rev=95812&view=rev
Log:
hopefully silence a warning on the clang-i386-darwin9 tester.
Modified:
cfe/trunk/lib/CodeGen/CGExprConstant.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprConstant.cpp?rev=95812&r1=95811&r2=95812&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprConstant.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprConstant.cpp Wed Feb 10 15:41:43 2010
@@ -1027,7 +1027,7 @@
// Itanium C++ ABI 2.3:
// A NULL pointer is represented as -1.
- return llvm::ConstantInt::get(getTypes().ConvertTypeForMem(T), -1,
+ return llvm::ConstantInt::get(getTypes().ConvertTypeForMem(T), -1ULL,
/*isSigned=*/true);
}
More information about the cfe-commits
mailing list