summaryrefslogtreecommitdiff
path: root/intl/localcharset.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localcharset.c')
-rw-r--r--intl/localcharset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/localcharset.c b/intl/localcharset.c
index 22e09e41..61f8f3e8 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)