Removing warnings from compilation
This commit is contained in:
@@ -255,10 +255,9 @@ UnwResult UnwStartThumb(UnwState * const state) {
|
||||
* the switch clauses
|
||||
*/
|
||||
uint8_t rn = instr & 0xF;
|
||||
uint8_t rm = instr2 & 0xF;
|
||||
bool H = (instr2 & 0x10) ? true : false;
|
||||
|
||||
UnwPrintd5("TB%c [r%d,r%d%s]\n", H ? 'H' : 'B', rn, rm, H ? ",LSL #1" : "");
|
||||
UnwPrintd5("TB%c [r%d,r%d%s]\n", H ? 'H' : 'B', rn, (instr2 & 0xF), H ? ",LSL #1" : "");
|
||||
|
||||
// We are only interested if the RN is the PC. Let's choose the 1st destination
|
||||
if (rn == 15) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user