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:
parent
8b45b55143
commit
11588468c7
3 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue