forked from OSchip/llvm-project
hopefully silence a warning on the clang-i386-darwin9 tester.
llvm-svn: 95812
This commit is contained in:
parent
1ccda7b7c4
commit
c55042c20f
|
@ -1027,7 +1027,7 @@ llvm::Constant *CodeGenModule::EmitNullConstant(QualType T) {
|
||||||
|
|
||||||
// Itanium C++ ABI 2.3:
|
// Itanium C++ ABI 2.3:
|
||||||
// A NULL pointer is represented as -1.
|
// 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);
|
/*isSigned=*/true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue