diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-02 20:56:13 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-02 20:56:13 +0000 |
commit | 9f58825e87cce21f332ba8e4c54a095d08bd49ba (patch) | |
tree | 1b06a240c0446632f72a1f62f339c5040da54bd5 /code/qcommon | |
parent | 461eedf7bd6e40db9ebd4561e44a1ca2cb7a87b2 (diff) | |
download | ioquake3-aero-9f58825e87cce21f332ba8e4c54a095d08bd49ba.tar.gz ioquake3-aero-9f58825e87cce21f332ba8e4c54a095d08bd49ba.zip |
pass only 10 arguments. vm_* doesn't use more anyways.
git-svn-id: svn://svn.icculus.org/quake3/trunk@233 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/vm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c index b0d63ae..294439a 100644 --- a/code/qcommon/vm.c +++ b/code/qcommon/vm.c @@ -736,8 +736,7 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) { 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 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) { #else struct { int callnum; - int args[16]; + int args[10]; } a; va_list ap; |