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;