diff options
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c index 278a4fd..513c060 100644 --- a/tests/test.c +++ b/tests/test.c @@ -32,7 +32,7 @@ int main() { subhook_t foo_hook = subhook_new((void *)foo, (void *)foo_hooked, - SUBHOOK_OPTION_64BIT_OFFSET); + SUBHOOK_64BIT_OFFSET); if (foo_hook == NULL || subhook_install(foo_hook) < 0) { puts("Install failed"); return EXIT_FAILURE; @@ -61,7 +61,7 @@ int main() { subhook_t foo_hook_tr = subhook_new((void *)foo, (void *)foo_hooked_tr, - SUBHOOK_OPTION_64BIT_OFFSET); + SUBHOOK_64BIT_OFFSET); if (subhook_install(foo_hook_tr) < 0) { puts("Install failed"); return EXIT_FAILURE; |