regress: fix some compilation warnings on printf format
This commit is contained in:
parent
a0aa26d6ee
commit
32bca0bd02
@ -61,7 +61,7 @@ bool test2_delayslot_hooked = false;
|
||||
// This hook is used to show that code is executing in the emulator.
|
||||
static void mips_codehook(uc_engine *uc, uint64_t address, uint32_t size, void *user_data)
|
||||
{
|
||||
printf("Test %d Executing: %llX\n", test_num, address);
|
||||
printf("Test %d Executing: %"PRIx64"\n", test_num, address);
|
||||
if( test_num == 1 && address == 0x100010 )
|
||||
{
|
||||
printf("Delay slot hook called!\n");
|
||||
|
@ -59,7 +59,7 @@ static void mips_codehook(uc_engine *uc, uint64_t address, uint32_t size, void *
|
||||
printf("\nloop %d:\n", loop_count);
|
||||
loop_count++;
|
||||
}
|
||||
printf("Code: %llX\n", address);
|
||||
printf("Code: %"PRIx64"\n", address);
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ int loop_count = 0;
|
||||
// This hook is used to show that code is executing in the emulator.
|
||||
static void mips_codehook(uc_engine *uc, uint64_t address, uint32_t size, void *user_data)
|
||||
{
|
||||
printf("Code: %llX\n", address);
|
||||
printf("Code: %"PRIx64"\n", address);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user