regress: fix compilation warning in invalid_read_in_cpu_tb_exec.c

This commit is contained in:
Nguyen Anh Quynh 2016-08-30 21:23:50 +08:00
parent 69d976375e
commit 10519d6864

View File

@ -1,7 +1,8 @@
#include <inttypes.h>
#include <unicorn/unicorn.h>
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);
}
/*