diff --git a/sourcepawn/jit/x86/jit_x86.cpp b/sourcepawn/jit/x86/jit_x86.cpp index cc030b1e..b4b272c9 100644 --- a/sourcepawn/jit/x86/jit_x86.cpp +++ b/sourcepawn/jit/x86/jit_x86.cpp @@ -2231,7 +2231,7 @@ rewind: void JITX86::DestroyFakenative(SPVM_NATIVE_FUNC func) { - engine->ExecFree(func); + engine->ExecFree((void *)func); } const char *JITX86::GetVMName()