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