X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c247172c9d181431960ee83eaa34c16a50b543bd..210e14b3fd3765a57e5f151c159c2ad921dadc98:/Console.cpp?ds=sidebyside diff --git a/Console.cpp b/Console.cpp index 50692f2..c680947 100644 --- a/Console.cpp +++ b/Console.cpp @@ -573,7 +573,7 @@ int Main(int argc, char const * const argv[], char const * const envp[]) { bool compile(false); CYOptions options; - append_history$ = reinterpret_cast(dlsym(RTLD_DEFAULT, "append_history")); + append_history$ = (int (*)(int, const char *)) (dlsym(RTLD_DEFAULT, "append_history")); #ifdef CY_ATTACH pid_t pid(_not(pid_t));