From 30c44b1a875ed917ff681ee2f237fe109cae9a38 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 2 Mar 2009 17:29:35 +0000 Subject: [PATCH] qcommon: vm: sparc, like 386, doesn't need var-args conversion. Signed-off-by: David S. Miller --- code/qcommon/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c index dceec4a2..a62377de 100644 --- a/code/qcommon/vm.c +++ b/code/qcommon/vm.c @@ -765,7 +765,7 @@ intptr_t QDECL VM_Call( vm_t *vm, int callnum, ... ) { args[4], args[5], args[6], args[7], args[8], args[9]); } else { -#if id386 // i386 calling convention doesn't need conversion +#if id386 || idsparc // i386/sparc calling convention doesn't need conversion #ifndef NO_VM_COMPILED if ( vm->compiled ) r = VM_CallCompiled( vm, (int*)&callnum );