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); } /*