From bfc93b849d9297a67c8e92f43f84787096841c7b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:22:14 +0000 Subject: [PATCH] Add casts to prevent warnings. --- locale/nl_langinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2