mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
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:
parent
c20b0fbfcd
commit
8308a48536
@ -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
Block a user