1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[gettext] explicit cast to char *

This commit is contained in:
Witold Filipczyk 2022-02-25 20:56:08 +01:00
parent cd55911c83
commit 913742d12b

View File

@ -77,7 +77,7 @@ _nl_explode_name(char *name, const char **language, const char **modifier,
if (*language == cp)
/* This does not make sense: language has to be specified. Use
this entry as it is without exploding. Perhaps it is an alias. */
cp = strchr(*language, '\0');
cp = (char *)strchr(*language, '\0');
else if (cp[0] == '_') {
/* Next is the territory. */
cp[0] = '\0';