Shut up a warning about signed/unsigned.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33071 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-11 07:58:19 +00:00
parent 40beb40f4b
commit 11b910c71f

View File

@ -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;
}