r191 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 27 18:38:25 EDT 2005


Author: tma
Date: 2005-10-27 18:38:25 -0400 (Thu, 27 Oct 2005)
New Revision: 191

Modified:
   trunk/code/qcommon/vm.c
Log:
* Fix the x86 vm


Modified: trunk/code/qcommon/vm.c
===================================================================
--- trunk/code/qcommon/vm.c	2005-10-27 22:05:38 UTC (rev 190)
+++ trunk/code/qcommon/vm.c	2005-10-27 22:38:25 UTC (rev 191)
@@ -749,10 +749,10 @@
 #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;




More information about the quake3-commits mailing list