mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 05:58:09 +00:00
Fix format string boundary issue
As long as the GLIB format value is not available and this test case uses 32bit offsets is fine to cast it down. But maybe we should import glib.h and use the proper portable formatting.
This commit is contained in:
parent
19a68d3991
commit
6d5a31d134
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ void cb_hookblock(uch handle, uint64_t address, uint32_t size, void *user_data)
|
|||
fprintf(stderr, "not ok %d - address != 0x1000000 && address != 0x1000200\n", count++);
|
||||
_exit(1);
|
||||
}
|
||||
fprintf(stderr, "ok %d - address (0x%x) is start of basic block\n", count++, address);
|
||||
fprintf(stderr, "ok %d - address (0x%x) is start of basic block\n", count++, (uint32_t)address);
|
||||
if (size != 0x200) {
|
||||
fprintf(stderr, "not ok %d - basic block size != 0x200\n", count++);
|
||||
_exit(1);
|
||||
|
|
Loading…
Reference in a new issue