From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:22:14 +0000 (+0000) Subject: Add casts to prevent warnings. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc93b849d9297a67c8e92f43f84787096841c7b;p=thirdparty%2Fglibc.git Add casts to prevent warnings. --- diff --git a/locale/nl_langinfo.c b/locale/nl_langinfo.c index 34772d35351..9b0b7c7e319 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;