aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-iconv.c')
-rw-r--r--e-util/e-iconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-iconv.c b/e-util/e-iconv.c
index 64c0508cd5..d241e1bf7d 100644
--- a/e-util/e-iconv.c
+++ b/e-util/e-iconv.c
@@ -96,7 +96,7 @@ static GHashTable *iconv_cache_open;
static unsigned int iconv_cache_size = 0;
static GHashTable *iconv_charsets = NULL;
-static const char *locale_charset = NULL;
+static char *locale_charset = NULL;
struct {
char *charset;
@@ -227,7 +227,7 @@ e_iconv_init(int keep)
} else {
#ifdef HAVE_CODESET
locale_charset = g_strdup(nl_langinfo(CODESET));
- g_strdown((char *)locale_charset);
+ g_strdown(locale_charset);
#else
/* A locale name is typically of the form language[_terri-
* tory][.codeset][@modifier], where language is an ISO 639