Fixed warning concerning implicit conversion from a NULL pointer

constant to an unsigned int.  We now just directly assign the literal 0.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2007-10-29 18:43:39 +00:00
parent c20b0fbfcd
commit 8308a48536

View File

@ -108,7 +108,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef) {
unsigned PtrId = ReadInt();
if (PtrId == 0) {
PtrRef = NULL;
PtrRef = 0;
return;
}