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;
|
insn->sibIndex = SIB_INDEX_NONE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
insn->sibIndex = (EABase)(sibIndexBase + index);
|
insn->sibIndex = (SIBIndex)(sibIndexBase + index);
|
||||||
if (insn->sibIndex == SIB_INDEX_sib ||
|
if (insn->sibIndex == SIB_INDEX_sib ||
|
||||||
insn->sibIndex == SIB_INDEX_sib64)
|
insn->sibIndex == SIB_INDEX_sib64)
|
||||||
insn->sibIndex = SIB_INDEX_NONE;
|
insn->sibIndex = SIB_INDEX_NONE;
|
||||||
@ -796,7 +796,7 @@ static int readSIB(struct InternalInstruction* insn) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
insn->sibBase = (EABase)(sibBaseBase + base);
|
insn->sibBase = (SIBBase)(sibBaseBase + base);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user