- tag more functions with gnu format attribute
- fix format string bugs. still some left
This commit is contained in:
1 parent
c3a713832c
commit
8e82c3d605
17 files changed
+32
-34
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user