forked from OSchip/llvm-project
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:
parent
a80b257a21
commit
ef23e34bba
|
@ -108,7 +108,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef) {
|
|||
unsigned PtrId = ReadInt();
|
||||
|
||||
if (PtrId == 0) {
|
||||
PtrRef = NULL;
|
||||
PtrRef = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue