Skip to content

Commit cd443ec

Browse files
committed
Fixed format specifier
1 parent dcbf25f commit cd443ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/opcache/jit/zend_jit_disasm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,13 +448,13 @@ static int zend_jit_disasm(const char *name,
448448

449449
# ifdef HAVE_CAPSTONE_ITER
450450
if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM_ADDR) {
451-
fprintf(stderr, " "ZEND_XLONG_FMT":", insn->address);
451+
fprintf(stderr, " %" PRIx64 ":", insn->address);
452452
}
453453
fprintf(stderr, "\t%s ", insn->mnemonic);
454454
p = insn->op_str;
455455
# else
456456
if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM_ADDR) {
457-
fprintf(stderr, " "ZEND_XLONG_FMT":", insn[i].address);
457+
fprintf(stderr, " %" PRIx64 ":", insn[i].address);
458458
}
459459
fprintf(stderr, "\t%s ", insn[i].mnemonic);
460460
p = insn[i].op_str;
@@ -556,7 +556,7 @@ static int zend_jit_disasm(const char *name,
556556
}
557557
}
558558
if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM_ADDR) {
559-
fprintf(stderr, " "ZEND_XLONG_FMT":", ud_insn_off(&ud));
559+
fprintf(stderr, " %" PRIx64 ":", ud_insn_off(&ud));
560560
}
561561
fprintf(stderr, "\t%s\n", ud_insn_asm(&ud));
562562
}

0 commit comments

Comments
 (0)