From 6534a9e3d74daeb07236f759b0a427ed4cb542f9 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 10 Aug 2011 21:21:54 +0000 Subject: Fix warning on MacOSX --- src/qcommon/vm_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon') diff --git a/src/qcommon/vm_x86.c b/src/qcommon/vm_x86.c index dbef2051..749115a2 100644 --- a/src/qcommon/vm_x86.c +++ b/src/qcommon/vm_x86.c @@ -456,7 +456,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 -- cgit