diff options
author | Duncan Sands <baldrick@free.fr> | 2008-04-21 07:35:28 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-04-21 07:35:28 +0000 |
commit | cd9a8a0eafb4977cd5fc5b7d826d5755b8eb3a18 (patch) | |
tree | b1867b99ab869daff54fbae178a0b0a73adcf90e /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | e5cdfcd7b0b2805ca74573b54943ef194e122b76 (diff) | |
download | external_llvm-cd9a8a0eafb4977cd5fc5b7d826d5755b8eb3a18.zip external_llvm-cd9a8a0eafb4977cd5fc5b7d826d5755b8eb3a18.tar.gz external_llvm-cd9a8a0eafb4977cd5fc5b7d826d5755b8eb3a18.tar.bz2 |
Fix a "large integer implicitly truncated to unsigned type"
warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index ad46207..97dd56a 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -264,7 +264,7 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) { CI != CE; ++CI) if (isa<PointerType>((*CI)->getType()) && ( getUnderlyingObject(*CI) == P || - alias(cast<Value>(CI), ~0UL, P, ~0UL) != NoAlias) ) + alias(cast<Value>(CI), ~0U, P, ~0U) != NoAlias) ) passedAsArg = true; if (!passedAsArg) |