From b340c9d83503c43a1656852358b5b224fe27bcca Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 29 Jun 2012 18:35:55 +0000 Subject: [PATCH] Fixed fatal error ("OP_BLOCK_COPY out of range!") when using qvms on Mac OS X powerpc (see r2031 and r2034). --- code/qcommon/vm_powerpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_powerpc.c b/code/qcommon/vm_powerpc.c index eb66c5ad..d81049c5 100644 --- a/code/qcommon/vm_powerpc.c +++ b/code/qcommon/vm_powerpc.c @@ -311,7 +311,7 @@ typedef struct VM_Data { // function pointers, no use to waste registers for them long int (* AsmCall)( int, int ); - void (* BlockCopy )( unsigned int, unsigned int, unsigned int ); + void (* BlockCopy )( unsigned int, unsigned int, size_t ); // instruction pointers, rarely used so don't waste register ppc_instruction_t *iPointers;