mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 06:02:10 +08:00
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
This commit is contained in:
@@ -237,7 +237,7 @@ Con_Printf
|
||||
|
||||
=============
|
||||
*/
|
||||
void Con_Printf( char *szFmt, ... )
|
||||
void Con_Printf( const char *szFmt, ... )
|
||||
{
|
||||
static char buffer[MAX_PRINT_MSG];
|
||||
va_list args;
|
||||
@@ -258,7 +258,7 @@ Con_DPrintf
|
||||
|
||||
=============
|
||||
*/
|
||||
void Con_DPrintf( char *szFmt, ... )
|
||||
void Con_DPrintf( const char *szFmt, ... )
|
||||
{
|
||||
static char buffer[MAX_PRINT_MSG];
|
||||
va_list args;
|
||||
@@ -282,7 +282,7 @@ Con_Reportf
|
||||
|
||||
=============
|
||||
*/
|
||||
void Con_Reportf( char *szFmt, ... )
|
||||
void Con_Reportf( const char *szFmt, ... )
|
||||
{
|
||||
static char buffer[MAX_PRINT_MSG];
|
||||
va_list args;
|
||||
|
||||
Reference in New Issue
Block a user