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/server | |
| 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/server')
| -rw-r--r-- | code/server/sv_client.c | 2 | ||||
| -rw-r--r-- | code/server/sv_game.c | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c index 6f9af5c..5685457 100644 --- a/code/server/sv_client.c +++ b/code/server/sv_client.c @@ -1433,7 +1433,7 @@ static void SV_UserMove( client_t *cl, msg_t *msg, qboolean delta ) {  		if (cl->state == CS_ACTIVE)  		{  			// we didn't get a cp yet, don't assume anything and just send the gamestate all over again -			Com_DPrintf( "%s: didn't get cp command, resending gamestate\n", cl->name, cl->state ); +			Com_DPrintf( "%s: didn't get cp command, resending gamestate\n", cl->name);  			SV_SendClientGameState( cl );  		}  		return; diff --git a/code/server/sv_game.c b/code/server/sv_game.c index f1fee90..43556bc 100644 --- a/code/server/sv_game.c +++ b/code/server/sv_game.c @@ -308,10 +308,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();  | 
