Fixed warning concerning implicit conversion from a NULL pointer

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

llvm-svn: 43459
This commit is contained in:
Ted Kremenek 2007-10-29 18:43:39 +00:00
parent a80b257a21
commit ef23e34bba
1 changed files with 1 additions and 1 deletions

View File

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