Fixed compilation warnings (mostly size_t->int, signed/unsigned conversions).

This commit is contained in:
Artem Kharytoniuk
2014-07-08 23:32:09 +03:00
parent 0f690ecf79
commit 3cc9bcd542
70 changed files with 316 additions and 311 deletions

View File

@@ -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);