cleanup & update bindings' constants

This commit is contained in:
Nguyen Anh Quynh
2015-09-04 09:43:31 +08:00
parent e54519c09f
commit 0962c4822b
4 changed files with 23 additions and 16 deletions

View File

@ -64,7 +64,7 @@ static void test_sparc(void)
// emulate machine code in infinite time (last param = 0), or when
// finishing all the code.
err = uc_emu_start(handle, ADDRESS, ADDRESS + sizeof(SPARC_CODE) -1, 0, 0);
err = uc_emu_start(handle, ADDRESS, ADDRESS + sizeof(SPARC_CODE) - 1, 0, 0);
if (err) {
printf("Failed on uc_emu_start() with error returned: %u (%s)\n",
err, uc_strerror(err));