r233 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 2 15:56:14 EST 2005


Author: ludwig
Date: 2005-11-02 15:56:13 -0500 (Wed, 02 Nov 2005)
New Revision: 233

Modified:
   trunk/code/qcommon/vm.c
Log:
pass only 10 arguments. vm_* doesn't use more anyways.


Modified: trunk/code/qcommon/vm.c
===================================================================
--- trunk/code/qcommon/vm.c	2005-11-02 20:36:30 UTC (rev 232)
+++ trunk/code/qcommon/vm.c	2005-11-02 20:56:13 UTC (rev 233)
@@ -736,8 +736,7 @@
 
 		r = vm->entryPoint( callnum,  args[0],  args[1],  args[2], args[3],
                             args[4],  args[5],  args[6], args[7],
-                            args[8],  args[9], args[10], args[11],
-                            args[12], args[13], args[14], args[15]);
+                            args[8],  args[9]);
 	} else {
 #ifdef __i386__ // i386 calling convention doesn't need conversion
 #ifndef NO_VM_COMPILED
@@ -749,7 +748,7 @@
 #else
 		struct {
 			int callnum;
-			int args[16];
+			int args[10];
 		} a;
 		va_list ap;
 




More information about the quake3-commits mailing list