Fixed compilation warnings (mostly size_t->int, signed/unsigned conversions).
This commit is contained in:
@@ -307,7 +307,7 @@ void MSG_WriteString( msg_t *sb, const char *s ) {
|
||||
int l,i;
|
||||
char string[MAX_STRING_CHARS];
|
||||
|
||||
l = strlen( s );
|
||||
l = (int)strlen( s );
|
||||
if ( l >= MAX_STRING_CHARS ) {
|
||||
Com_Printf( "MSG_WriteString: MAX_STRING_CHARS" );
|
||||
MSG_WriteData (sb, "", 1);
|
||||
@@ -333,7 +333,7 @@ void MSG_WriteBigString( msg_t *sb, const char *s ) {
|
||||
int l,i;
|
||||
char string[BIG_INFO_STRING];
|
||||
|
||||
l = strlen( s );
|
||||
l = (int)strlen( s );
|
||||
if ( l >= BIG_INFO_STRING ) {
|
||||
Com_Printf( "MSG_WriteString: BIG_INFO_STRING" );
|
||||
MSG_WriteData (sb, "", 1);
|
||||
|
||||
Reference in New Issue
Block a user