From c55042c20f12b08ac716fb12ec57baecbd858e44 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 10 Feb 2010 21:41:43 +0000 Subject: [PATCH] hopefully silence a warning on the clang-i386-darwin9 tester. llvm-svn: 95812 --- clang/lib/CodeGen/CGExprConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp index 5800ce770c3e..3df552d75bb6 100644 --- a/clang/lib/CodeGen/CGExprConstant.cpp +++ b/clang/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); }