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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 10 17:21:54 EDT 2011


Author: thilo
Date: 2011-08-10 17:21:54 -0400 (Wed, 10 Aug 2011)
New Revision: 2143

Modified:
   trunk/code/qcommon/vm_x86.c
Log:
Fix warning on MacOSX


Modified: trunk/code/qcommon/vm_x86.c
===================================================================
--- trunk/code/qcommon/vm_x86.c	2011-08-10 21:14:17 UTC (rev 2142)
+++ trunk/code/qcommon/vm_x86.c	2011-08-10 21:21:54 UTC (rev 2143)
@@ -455,7 +455,7 @@
 		opStackBase[opStackOfs + 1] = savedVM->systemCall(args);
 #else
 		data[0] = ~syscallNum;
-		opStackBase[opStackOfs + 1] = savedVM->systemCall(data);
+		opStackBase[opStackOfs + 1] = savedVM->systemCall((intptr_t *) data);
 #endif
 	}
 	else



More information about the quake3-commits mailing list