aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 22:38:25 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 22:38:25 +0000
commit4ffc14c5f91daf95770c930637fedfe03499ed29 (patch)
tree310a681bdb9b4126532f92ae874c13d4efa20c80 /code/qcommon
parent65f5881be597a7bfaaefe84199fe9775194cf3fa (diff)
downloadioquake3-aero-4ffc14c5f91daf95770c930637fedfe03499ed29.tar.gz
ioquake3-aero-4ffc14c5f91daf95770c930637fedfe03499ed29.zip
* Fix the x86 vm
git-svn-id: svn://svn.icculus.org/quake3/trunk@191 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-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 a20e69f..6c26d00 100644
--- a/code/qcommon/vm.c
+++ b/code/qcommon/vm.c
@@ -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;