summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-06-29 18:35:55 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:41:23 +0000
commit3f86ab4a2a4bc6ee948e9efc357e8eef772b8012 (patch)
treee230fe30ffed3dee92933a26dc9a34b998020172 /src
parent6d72acf65c8d0daf6fabcb84b7771756265a4daf (diff)
Fixed fatal error ("OP_BLOCK_COPY out of range!") when using qvms on Mac OS X powerpc (see r2031 and r2034).
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/vm_powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/vm_powerpc.c b/src/qcommon/vm_powerpc.c
index 39aec0d9..604d844e 100644
--- a/src/qcommon/vm_powerpc.c
+++ b/src/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;