X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=intl%2Flocalcharset.c;h=61f8f3e8529ed4b5de04fad2f0f84642c14cf0af;hb=b86565cfe5b9ebb146900db272189e0531eab2f8;hp=22e09e410a9682ad919c66044d8c0ca25d738993;hpb=4c9dc6c513d03e0aff1f3e1655d57fa7e46b1274;p=lyx.git diff --git a/intl/localcharset.c b/intl/localcharset.c index 22e09e410a..61f8f3e852 100644 --- a/intl/localcharset.c +++ b/intl/localcharset.c @@ -75,13 +75,13 @@ /* Pointer to the contents of the charset.alias file, if it has already been read, else NULL. Its format is: ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ -static char * volatile charset_aliases; +static const char * volatile charset_aliases; /* Return a pointer to the contents of the charset.alias file. */ static const char * get_charset_aliases () { - char *cp; + const char *cp; cp = charset_aliases; if (cp == NULL)