mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Silence enum conversion warnings.
llvm-svn: 126578
This commit is contained in:
parent
b6f7dcb996
commit
0bdf517525
@ -749,7 +749,7 @@ static int readSIB(struct InternalInstruction* insn) {
|
||||
insn->sibIndex = SIB_INDEX_NONE;
|
||||
break;
|
||||
default:
|
||||
insn->sibIndex = (EABase)(sibIndexBase + index);
|
||||
insn->sibIndex = (SIBIndex)(sibIndexBase + index);
|
||||
if (insn->sibIndex == SIB_INDEX_sib ||
|
||||
insn->sibIndex == SIB_INDEX_sib64)
|
||||
insn->sibIndex = SIB_INDEX_NONE;
|
||||
@ -796,7 +796,7 @@ static int readSIB(struct InternalInstruction* insn) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
insn->sibBase = (EABase)(sibBaseBase + base);
|
||||
insn->sibBase = (SIBBase)(sibBaseBase + base);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user