diff --git a/src/intl/gettext/explodename.c b/src/intl/gettext/explodename.c index 3652c5c60..604663c5b 100644 --- a/src/intl/gettext/explodename.c +++ b/src/intl/gettext/explodename.c @@ -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';