diff --git a/arch/SystemZ/SystemZInstPrinter.c b/arch/SystemZ/SystemZInstPrinter.c index 5d22720d..18c5a93c 100644 --- a/arch/SystemZ/SystemZInstPrinter.c +++ b/arch/SystemZ/SystemZInstPrinter.c @@ -302,7 +302,7 @@ static void printPCRelOperand(MCInst *MI, int OpNum, SStream *O) SStream_concat(O, "%u", imm); } else { if (imm < -HEX_THRESHOLD) - SStream_concat(O, "-0x%x", -imm); + SStream_concat(O, "-0x%x", (unsigned int)-imm); else SStream_concat(O, "-%u", -imm); }