diff options
-rw-r--r-- | test/test_prog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_prog.cpp b/test/test_prog.cpp index b7d2c43..df60aeb 100644 --- a/test/test_prog.cpp +++ b/test/test_prog.cpp @@ -11,7 +11,9 @@ subhook::Hook foo_hook; int main() { std::printf("Testing initial install\n"); - foo_hook.Install((void *)foo, (void *)foo_hooked); + foo_hook.Install((void *)foo, + (void *)foo_hooked, + subhook::HookOption64BitOffset); foo(); foo_hook.Remove(); foo(); |