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:
@@ -108,7 +108,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef) {
|
||||
unsigned PtrId = ReadInt();
|
||||
|
||||
if (PtrId == 0) {
|
||||
PtrRef = NULL;
|
||||
PtrRef = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user