signed long to s32 conversion based on the patch posted by ldesnogu in #2752961.

This commit is contained in:
riccardom 2009-04-11 17:20:19 +00:00
parent 0854f57647
commit c292d7d9e3
1 changed files with 1 additions and 1 deletions

View File

@ -3714,7 +3714,7 @@ static char * OP_LDMIA_THUMB(u32 adr, u32 i, char * txt)
static char * OP_B_COND(u32 adr, u32 i, char * txt)
{
sprintf(txt, "B%s #%X", Condition[(i>>8)&0xF], (int)(adr+(((signed long)((signed char)(i&0xFF)))<<1)+4));
sprintf(txt, "B%s #%X", Condition[(i>>8)&0xF], (int)(adr+(((s32)((signed char)(i&0xFF)))<<1)+4));
return txt;
}