File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -400,14 +400,14 @@ int dasm_encode(Dst_DECL, void *buffer)
400400 if (* p != DASM_IMM_DB && * p != DASM_IMM_WB ) mark = NULL ;
401401 if (n == 0 ) { int mrm = mm [-1 ]& 7 ; if (mrm == 4 ) mrm = mm [0 ]& 7 ;
402402 if (mrm != 5 ) { mm [-1 ] -= 0x80 ; break ; } }
403- if (((n + 128 ) & -256 ) != 0 ) goto wd ; else mm [-1 ] -= 0x40 ;
403+ if (((( unsigned ) n + 128 ) & -256 ) != 0 ) goto wd ; else mm [-1 ] -= 0x40 ;
404404 }
405405 case DASM_IMM_S : case DASM_IMM_B : wb : dasmb (n ); break ;
406406 case DASM_IMM_DB : if ((((unsigned )n + 128 )& -256 ) == 0 ) {
407407 db : if (!mark ) mark = cp ; mark [-2 ] += 2 ; mark = NULL ; goto wb ;
408408 } else mark = NULL ;
409409 case DASM_IMM_D : wd : dasmd (n ); break ;
410- case DASM_IMM_WB : if (((n + 128 )& -256 ) == 0 ) goto db ; else mark = NULL ;
410+ case DASM_IMM_WB : if (((( unsigned ) n + 128 )& -256 ) == 0 ) goto db ; else mark = NULL ;
411411 case DASM_IMM_W : dasmw (n ); break ;
412412 case DASM_VREG : {
413413 int t = * p ++ ;
You can’t perform that action at this time.
0 commit comments