aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 20:58:27 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 20:58:27 +0000
commit7904f5ba46346fae2e252bfc3508dd19517ed65f (patch)
tree0d791aaebb25ea27d3f7911e7f906885d99e959d /code
parent9f58825e87cce21f332ba8e4c54a095d08bd49ba (diff)
downloadioquake3-aero-7904f5ba46346fae2e252bfc3508dd19517ed65f.tar.gz
ioquake3-aero-7904f5ba46346fae2e252bfc3508dd19517ed65f.zip
pass only 10 arguments. vm_* doesn't use more anyways.
git-svn-id: svn://svn.icculus.org/quake3/trunk@234 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/qcommon/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c
index 294439a..7e9142e 100644
--- a/code/qcommon/vm.c
+++ b/code/qcommon/vm.c
@@ -332,7 +332,7 @@ Dlls will call this directly
long QDECL VM_DllSyscall( long arg, ... ) {
#if ((defined __GNUC__) && !(defined __i386__))
// rcg010206 - see commentary above
- long args[16];
+ long args[10];
int i;
va_list ap;
@@ -726,7 +726,7 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
// if we have a dll loaded, call it directly
if ( vm->entryPoint ) {
//rcg010207 - see dissertation at top of VM_DllSyscall() in this file.
- long args[16];
+ long args[10];
va_list ap;
va_start(ap, callnum);
for (i = 0; i < sizeof (args) / sizeof (args[i]); i++) {