commit | 33ca234df5ca97402e64053cf1b11e5bcc483551 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Oct 29 18:43:39 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Oct 29 18:43:39 2007 +0000 |
tree | 8b94ca37cbd162da19524c09dda1b696045db504 | |
parent | 39c4e94a6deb2f6fe51c7c7159589fc2f2298381 [diff] [blame] |
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 8fba9d2..ff0dd44 100644 --- a/lib/Bitcode/Reader/Deserialize.cpp +++ b/lib/Bitcode/Reader/Deserialize.cpp
@@ -108,7 +108,7 @@ unsigned PtrId = ReadInt(); if (PtrId == 0) { - PtrRef = NULL; + PtrRef = 0; return; }