projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c20b0fb
)
Fixed warning concerning implicit conversion from a NULL pointer
author
Ted Kremenek
<kremenek@apple.com>
Mon, 29 Oct 2007 18:43:39 +0000
(18:43 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Mon, 29 Oct 2007 18:43:39 +0000
(18:43 +0000)
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
lib/Bitcode/Reader/Deserialize.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/Deserialize.cpp
b/lib/Bitcode/Reader/Deserialize.cpp
index 8fba9d20b5d2312815ccc3d96cd5602fa21d785d..ff0dd44dc25b1eb608c8826b2f69f2e9f6eeac79 100644
(file)
--- 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;
}