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 | 5656cad97d005f72fadae624cdc9586adf4ac5e8 (patch) | |
| tree | 3e18b8ab1fe1598f09b56ee23a4b925092b359a3 /llvm | |
| parent | 81accb5f084c2b84a1359f08deeb4d989bc13eed (diff) | |
| download | bcm5719-llvm-5656cad97d005f72fadae624cdc9586adf4ac5e8.tar.gz bcm5719-llvm-5656cad97d005f72fadae624cdc9586adf4ac5e8.zip | |
Shut up a warning about signed/unsigned.
llvm-svn: 33071
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 181f8e68c61..a00b19edc96 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/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; } |

