mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 05:10:33 +00:00
Zwei Warnungen durch Casts behoben. Damit bauen Client und
Common nun mit -Werror durch.
This commit is contained in:
parent
fc95927daa
commit
310cf9ee77
2 changed files with 2 additions and 2 deletions
|
@ -832,7 +832,7 @@ void CL_PingServers_f (void)
|
|||
for (i=0 ; i<16 ; i++)
|
||||
{
|
||||
Com_sprintf (name, sizeof(name), "adr%i", i);
|
||||
adrstring = Cvar_VariableString (name);
|
||||
adrstring = (char *) Cvar_VariableString (name);
|
||||
if (!adrstring || !adrstring[0])
|
||||
continue;
|
||||
|
||||
|
|
|
@ -574,7 +574,7 @@ char *Cmd_MacroExpandString (char *text)
|
|||
if (!start)
|
||||
continue;
|
||||
|
||||
token = Cvar_VariableString (token);
|
||||
token = (char *)Cvar_VariableString (token);
|
||||
|
||||
j = strlen(token);
|
||||
len += j;
|
||||
|
|
Loading…
Reference in a new issue