diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-10 21:41:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-10 21:41:43 +0000 |
commit | c0f3df3245fa2737b459e198273762a27b76f75a (patch) | |
tree | b982e9bab5e949deed86f78ec3db267460e8e475 /lib/CodeGen/CGExprConstant.cpp | |
parent | 9e5d996444e40fdf5cce44ee82bec0d4e3df3d56 (diff) |
hopefully silence a warning on the clang-i386-darwin9 tester.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 5800ce770c..3df552d75b 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -1027,7 +1027,7 @@ llvm::Constant *CodeGenModule::EmitNullConstant(QualType T) { // 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); } |