From 1f04fb14c4458fb529599609ddd31ae16d6d56a0 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 29 May 2017 23:48:03 +0200 Subject: [PATCH] Fix format string for 32bit machines --- libr/core/disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/core/disasm.c b/libr/core/disasm.c index ee55dbc515..b86f4c8418 100644 --- a/libr/core/disasm.c +++ b/libr/core/disasm.c @@ -2937,7 +2937,7 @@ static void ds_print_ptr(RDisasmState *ds, int len, int idx) { if (p != UT64_MAX && p != UT32_MAX) { if (*n > -0xfff && *n < 0xfff) { ALIGN; - ds_comment (ds, true, "; %d%s", p, nl); + ds_comment (ds, true, "; %"PFMT64d"%s", p, nl); } } } else {