commit | 8308a4853628c455abeb21f7fef8772366decfa5 | [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 | c20b0fbfcde995f472096aa9fde9fe2aeb71af94 [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; }