From eb011a752a2267d59580f81f6962969aa3fe49ab Mon Sep 17 00:00:00 2001 From: Loo Rong Jie Date: Tue, 18 Oct 2016 16:24:29 +0800 Subject: Replace zx with PRIzx (#168) --- src/wasm-binary-reader-objdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-binary-reader-objdump.c') diff --git a/src/wasm-binary-reader-objdump.c b/src/wasm-binary-reader-objdump.c index c940b227..729d2a3b 100644 --- a/src/wasm-binary-reader-objdump.c +++ b/src/wasm-binary-reader-objdump.c @@ -120,7 +120,7 @@ static void log_opcode(Context* ctx, size_t offset = ctx->current_opcode_offset; // Print binary data - printf(" %06zx: %02x", offset - 1, ctx->current_opcode); + printf(" %06" PRIzx ": %02x", offset - 1, ctx->current_opcode); size_t i; for (i = 0; i < data_size && i < IMMEDIATE_OCTET_COUNT; i++, offset++) { printf(" %02x", data[offset]); -- cgit v1.2.3