* Fix the x86 vm
This commit is contained in:
1 parent
556b3307c5
commit
b1b7f975f1
1 file changed
+2
-2
+2
-2
@@ -749,10 +749,10 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
|
||||
#ifdef __i386__ // i386 calling convention doesn't need conversion
|
||||
#if defined(HAVE_VM_COMPILED)
|
||||
if ( vm->compiled )
|
||||
r = VM_CallCompiled( vm, (int*)callnum );
|
||||
r = VM_CallCompiled( vm, (int*)&callnum );
|
||||
else
|
||||
#endif
|
||||
r = VM_CallInterpreted( vm, (int*)callnum );
|
||||
r = VM_CallInterpreted( vm, (int*)&callnum );
|
||||
#else
|
||||
struct {
|
||||
int callnum;
|
||||
|
||||
Reference in new issue
Block a user