Zwei Warnungen durch Casts behoben. Damit bauen Client und

Common nun mit -Werror durch.
This commit is contained in:
Yamagi Burmeister 2009-03-04 09:03:08 +00:00
parent fc95927daa
commit 310cf9ee77
2 changed files with 2 additions and 2 deletions

View file

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

View file

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