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:
Alibek Omarov
2018-04-23 23:07:54 +03:00
parent e1f80fba3d
commit efe8ddf151
44 changed files with 143 additions and 138 deletions
+3 -3
View File
@@ -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;