diff --git a/lib/Bitcode/Reader/Deserialize.cpp b/lib/Bitcode/Reader/Deserialize.cpp index 8fba9d20b5d..ff0dd44dc25 100644 --- a/lib/Bitcode/Reader/Deserialize.cpp +++ b/lib/Bitcode/Reader/Deserialize.cpp @@ -108,7 +108,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef) { unsigned PtrId = ReadInt(); if (PtrId == 0) { - PtrRef = NULL; + PtrRef = 0; return; }