about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/nl_langinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/nl_langinfo.c b/locale/nl_langinfo.c
index 34772d3535..9b0b7c7e31 100644
--- a/locale/nl_langinfo.c
+++ b/locale/nl_langinfo.c
@@ -35,13 +35,13 @@ nl_langinfo (item)
 
   if (category < 0 || category >= LC_ALL)
     /* Bogus category: bogus item.  */
-    return "";
+    return (char *) "";
 
   data = *_nl_current[category];
 
   if (index >= data->nstrings)
     /* Bogus index for this category: bogus item.  */
-    return "";
+    return (char *) "";
 
   /* Return the string for the specified item.  */
   return (char *) data->values[index].string;