From 10519d6864dab5488fed7df86548d0b09a4d9783 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 30 Aug 2016 21:23:50 +0800 Subject: [PATCH] regress: fix compilation warning in invalid_read_in_cpu_tb_exec.c --- tests/regress/invalid_read_in_cpu_tb_exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/regress/invalid_read_in_cpu_tb_exec.c b/tests/regress/invalid_read_in_cpu_tb_exec.c index 7654c07e..755b7180 100644 --- a/tests/regress/invalid_read_in_cpu_tb_exec.c +++ b/tests/regress/invalid_read_in_cpu_tb_exec.c @@ -1,7 +1,8 @@ +#include #include static void hook_block(uc_engine *uc, uint64_t address, uint32_t size, void *user_data) { - printf("hook_block(%p, %lx, %d, %p)\n", uc, address, size, user_data); + printf("hook_block(%p, %"PRIx64", %d, %p)\n", uc, address, size, user_data); } /*