mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
r1833 now made some Linux systems spit out warnings. Fix this once and for all
This commit is contained in:
parent
e5dbce839a
commit
4982bf8e6b
1 changed files with 2 additions and 2 deletions
|
@ -1210,9 +1210,9 @@ void Cvar_Update( vmCvar_t *vmCvar ) {
|
|||
}
|
||||
vmCvar->modificationCount = cv->modificationCount;
|
||||
if ( strlen(cv->string)+1 > MAX_CVAR_VALUE_STRING )
|
||||
Com_Error( ERR_DROP, "Cvar_Update: src %s length %d exceeds MAX_CVAR_VALUE_STRING",
|
||||
Com_Error( ERR_DROP, "Cvar_Update: src %s length %u exceeds MAX_CVAR_VALUE_STRING",
|
||||
cv->string,
|
||||
strlen(cv->string));
|
||||
(unsigned int) strlen(cv->string));
|
||||
Q_strncpyz( vmCvar->string, cv->string, MAX_CVAR_VALUE_STRING );
|
||||
|
||||
vmCvar->value = cv->value;
|
||||
|
|
Loading…
Reference in a new issue