diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-10-29 18:43:39 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-10-29 18:43:39 +0000 |
commit | 33ca234df5ca97402e64053cf1b11e5bcc483551 (patch) | |
tree | 8b94ca37cbd162da19524c09dda1b696045db504 /lib | |
parent | 39c4e94a6deb2f6fe51c7c7159589fc2f2298381 (diff) | |
download | external_llvm-33ca234df5ca97402e64053cf1b11e5bcc483551.zip external_llvm-33ca234df5ca97402e64053cf1b11e5bcc483551.tar.gz external_llvm-33ca234df5ca97402e64053cf1b11e5bcc483551.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Bitcode/Reader/Deserialize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/Deserialize.cpp b/lib/Bitcode/Reader/Deserialize.cpp index 8fba9d2..ff0dd44 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; } |