]> git.saurik.com Git - cycript.git/blobdiff - Console.cpp
Ported back to cygwin.
[cycript.git] / Console.cpp
index 50692f27c42c043445c1ee3635a2d349d4c87d86..c6809479319d05620de0c848ec7b0bf48ce5b331 100644 (file)
@@ -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<int (*)(int, const char *)>(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));