mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +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:
parent
40beb40f4b
commit
11b910c71f
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user