diff options
Diffstat (limited to 'src/server/sv_game.c')
-rw-r--r-- | src/server/sv_game.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |