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:
parent
cd55911c83
commit
913742d12b
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user