forked from github/server
fix const correctness
This commit is contained in:
parent
0a6e18f34d
commit
02ab10d723
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue