Merge pull request #4837 from wwylele/interpreter

interpreter: silent sign warnings
This commit is contained in:
Pengfei Zhu 2019-07-15 12:02:24 +08:00 committed by GitHub
commit 8ece20007a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3586,7 +3586,7 @@ STM_INST : {
cpu->WriteMemory32(addr, cpu->Reg[15] + 8);
}
} else {
for (int i = 0; i < 15; i++) {
for (unsigned int i = 0; i < 15; i++) {
if (BIT(inst_cream->inst, i)) {
if (i == Rn)
cpu->WriteMemory32(addr, old_RN);