From: Ted Kremenek Date: Mon, 29 Oct 2007 18:43:39 +0000 (+0000) Subject: Fixed warning concerning implicit conversion from a NULL pointer X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8308a4853628c455abeb21f7fef8772366decfa5;p=oota-llvm.git 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 --- 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; }