Fixed warnings related to passing (char **) when (const char **) is excpected, just casting.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2596 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-08-20 02:13:51 +00:00
parent 8b45b55143
commit 11588468c7
3 changed files with 6 additions and 6 deletions

View file

@ -274,7 +274,7 @@ void M_MenuS_Comboi_f (void)
}
opts[opt] = NULL;
MC_AddCvarCombo(menu_script, x, y, caption, var, opts, values);
MC_AddCvarCombo(menu_script, x, y, caption, var, (const char **)opts, (const char **)values);
}
char *Hunk_TempString(char *s)
@ -348,7 +348,7 @@ void M_MenuS_Combos_f (void)
}
opts[opt] = NULL;
MC_AddCvarCombo(menu_script, x, y, caption, var, opts, values);
MC_AddCvarCombo(menu_script, x, y, caption, var, (const char **)opts, (const char **)values);
}
/*