mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 09:15:35 +00:00
unit: fix warnings in printing uint64_t in test_hookcounts.c
This commit is contained in:
parent
ac21e74641
commit
0af4baac31
|
@ -96,9 +96,9 @@ test_hook_count(uc_engine *uc,
|
||||||
OK(uc_mem_write(uc, address, code, code_length));
|
OK(uc_mem_write(uc, address, code, code_length));
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("Address: %8.8lx\n", address);
|
printf("Address: %"PRIx64"\n", address);
|
||||||
printf("Start : %8.8lx\n", address + start_offset);
|
printf("Start : %"PRIx64"\n", address + start_offset);
|
||||||
printf("End : %8.8lx\n", address + code_length - 1);
|
printf("End : %"PRIx64"\n", address + code_length - 1);
|
||||||
printf("Count : %d\n", expected_instructions);
|
printf("Count : %d\n", expected_instructions);
|
||||||
#endif
|
#endif
|
||||||
OK(uc_emu_start(uc,
|
OK(uc_emu_start(uc,
|
||||||
|
|
Loading…
Reference in a new issue