diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-12-30 12:32:54 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-12-30 12:32:54 +0000 |
commit | f0fc390a026dfff392ba465b76f60f3f0e5a70e2 (patch) | |
tree | add91b1a36f3c11bf1b5b6a5fd5aea145c1fef52 /code/client/cl_cgame.c | |
parent | ca2cf9c99df7ee76f13b7c9fa2d6ad706a3968fa (diff) | |
download | ioquake3-aero-f0fc390a026dfff392ba465b76f60f3f0e5a70e2.tar.gz ioquake3-aero-f0fc390a026dfff392ba465b76f60f3f0e5a70e2.zip |
- 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
Diffstat (limited to 'code/client/cl_cgame.c')
-rw-r--r-- | code/client/cl_cgame.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |