From 57d0a7a23af6d42cb98c4c0e9bd67823fa9c4aa0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 12 Mar 2007 17:33:39 +0000 Subject: [PATCH] gcc fix --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40608 --- sourcepawn/jit/x86/jit_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()