fix const correctness

This commit is contained in:
Enno Rehling 2012-05-16 18:21:07 +02:00
parent 0a6e18f34d
commit 02ab10d723
1 changed files with 1 additions and 1 deletions

View File

@ -1497,7 +1497,7 @@ param_t findparam(const char *s, const struct locale * lang)
void **tokens = get_translations(lang, UT_PARAMS); void **tokens = get_translations(lang, UT_PARAMS);
int i; int i;
param_t result = NOPARAM; param_t result = NOPARAM;
void * match; const void * match;
char buffer[64]; char buffer[64];
char * str = transliterate(buffer, sizeof(buffer)-sizeof(int), s); char * str = transliterate(buffer, sizeof(buffer)-sizeof(int), s);
critbit_tree *cb = (critbit_tree *)*tokens; critbit_tree *cb = (critbit_tree *)*tokens;