Removing warnings from compilation

This commit is contained in:
etagle
2018-05-16 15:02:36 -03:00
committed by Scott Lahteine
parent b9079aa1b5
commit 40d7e12827
4 changed files with 19 additions and 13 deletions

View File

@@ -185,7 +185,7 @@ static UnwResult UnwTabExecuteInstructions(const UnwindCallbacks *cb, UnwTabStat
/* pop r4-r[4+nnn] or pop r4-r[4+nnn], r14*/
vsp = ucb->vrs[13];
for (reg = 4; reg <= (instruction & 0x07) + 4; ++reg) {
for (reg = 4; reg <= uint32_t((instruction & 0x07) + 4); ++reg) {
uint32_t v;
if (!cb->readW(vsp,&v))
return UNWIND_DREAD_W_FAIL;