[quake3-commits] r2288 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jun 29 14:35:56 EDT 2012


Author: ztm
Date: 2012-06-29 14:35:55 -0400 (Fri, 29 Jun 2012)
New Revision: 2288

Modified:
   trunk/code/qcommon/vm_powerpc.c
Log:
Fixed fatal error ("OP_BLOCK_COPY out of range!") when using qvms on Mac OS X powerpc (see r2031 and r2034).

Modified: trunk/code/qcommon/vm_powerpc.c
===================================================================
--- trunk/code/qcommon/vm_powerpc.c	2012-06-19 22:36:54 UTC (rev 2287)
+++ trunk/code/qcommon/vm_powerpc.c	2012-06-29 18:35:55 UTC (rev 2288)
@@ -311,7 +311,7 @@
 
 	// 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;



More information about the quake3-commits mailing list