From a248451e660bc502415b8d20b70101b5a033c5ca Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 10 Aug 2011 21:21:54 +0000 Subject: [PATCH] Fix warning on MacOSX --- code/qcommon/vm_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c index ed5b4563..a303a335 100644 --- a/code/qcommon/vm_x86.c +++ b/code/qcommon/vm_x86.c @@ -455,7 +455,7 @@ static void DoSyscall(void) opStackBase[opStackOfs + 1] = savedVM->systemCall(args); #else data[0] = ~syscallNum; - opStackBase[opStackOfs + 1] = savedVM->systemCall(data); + opStackBase[opStackOfs + 1] = savedVM->systemCall((intptr_t *) data); #endif } else