hopefully silence a warning on the clang-i386-darwin9 tester.

llvm-svn: 95812
This commit is contained in:
Chris Lattner 2010-02-10 21:41:43 +00:00
parent 1ccda7b7c4
commit c55042c20f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}