about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--locale/loadlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index 1478579c55..2a7908c328 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -239,6 +239,6 @@ _nl_unload_locale (struct locale_data *locale)
 #endif
     free ((void *) locale->filedata);
 
-  free (locale->options);
+  free ((char *) locale->options);
   free (locale);
 }