diff --git a/ext/disarm.cpp b/ext/disarm.cpp index f17d1856f1..ffd3d756b5 100644 --- a/ext/disarm.cpp +++ b/ext/disarm.cpp @@ -757,7 +757,7 @@ lPling: } else { if (((int)imm8)<0 && ((int)imm8)>-100) { - *op++='-'; imm8=-imm8; + *op++='-'; imm8=-(int)imm8; } op = num(op, imm8); } @@ -880,7 +880,7 @@ lPling: if (!(instr&Ubit)) { if (offset) *op++='-'; else result.oddbits=1; - result.offset = -offset; + result.offset = -(int)offset; } else result.offset = offset; op = num(op, offset);