diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-11 07:58:19 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-11 07:58:19 +0000 |
commit | 11b910c71f9822c7a55b310c3b590b0c447c5715 (patch) | |
tree | aeaa36139b94ad7509b930b222fd1eccc08c1a5b /lib/VMCore | |
parent | 40beb40f4b959c10bea7a52bcb81c22fb4989565 (diff) |
Shut up a warning about signed/unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 181f8e68c6..a00b19edc9 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1495,7 +1495,7 @@ int SlotMachine::getGlobalSlot(const GlobalValue *V) { // Lookup the value in the module plane's map. ValueMap::const_iterator MVI = MI->second.map.find(V); - return MVI != MI->second.map.end() ? MVI->second : -1; + return MVI != MI->second.map.end() ? int(MVI->second) : -1; } |