X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/aaa4a269e00843e8a21ef26d09604d4e357dfb69..e46761272105b911e12186212afa6e9373ff9641:/Console.cpp 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));