mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user