From f0fc390a026dfff392ba465b76f60f3f0e5a70e2 Mon Sep 17 00:00:00 2001 From: ludwig Date: Sat, 30 Dec 2006 12:32:54 +0000 Subject: - tag more functions with gnu format attribute - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_cgame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/client/cl_cgame.c') diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index 997a72c..4ebacb1 100644 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -415,10 +415,10 @@ The cgame module is making a system call intptr_t CL_CgameSystemCalls( intptr_t *args ) { switch( args[0] ) { case CG_PRINT: - Com_Printf( "%s", VMA(1) ); + Com_Printf( "%s", (const char*)VMA(1) ); return 0; case CG_ERROR: - Com_Error( ERR_DROP, "%s", VMA(1) ); + Com_Error( ERR_DROP, "%s", (const char*)VMA(1) ); return 0; case CG_MILLISECONDS: return Sys_Milliseconds(); -- cgit v1.2.3