From d899c25c571ed061bba9725cf7b35d492cc6e518 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 21 Mar 2007 23:55:51 +0000 Subject: * ioq3-r1052 merge --- src/server/sv_game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/sv_game.c') diff --git a/src/server/sv_game.c b/src/server/sv_game.c index 82a02184..1f56ed01 100644 --- a/src/server/sv_game.c +++ b/src/server/sv_game.c @@ -305,10 +305,10 @@ The module is making a system call intptr_t SV_GameSystemCalls( intptr_t *args ) { switch( args[0] ) { case G_PRINT: - Com_Printf( "%s", VMA(1) ); + Com_Printf( "%s", (const char*)VMA(1) ); return 0; case G_ERROR: - Com_Error( ERR_DROP, "%s", VMA(1) ); + Com_Error( ERR_DROP, "%s", (const char*)VMA(1) ); return 0; case G_MILLISECONDS: return Sys_Milliseconds(); @@ -492,7 +492,7 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) { default: - Com_Error( ERR_DROP, "Bad game system trap: %i", args[0] ); + Com_Error( ERR_DROP, "Bad game system trap: %ld", (long int) args[0] ); } return -1; } -- cgit