Fixed multiple bugs in test_x86_rip_bug.c

Fixed format warning in test_hang.c
This commit is contained in:
nnn
2016-08-20 22:23:51 -07:00
parent 4a67727f81
commit d77fd18915
2 changed files with 111 additions and 13 deletions

View File

@@ -87,8 +87,8 @@ void test_hang(void **state)
uc_reg_read(uc, UC_ARM64_REG_X0, &x0);
uc_reg_read(uc, UC_ARM64_REG_X1, &x1);
printf("x0: %#llx\n", x0);
printf("x1: %#llx\n", x1);
printf("x0: %#lx\n", x0);
printf("x1: %#lx\n", x1);
}
int main(int argc, const char * argv[]) {