aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-13 07:40:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-13 07:40:16 +0000
commitb02b9253e0c1770707ed791f0aa274af79886932 (patch)
treec96810ca1b2a2c7cb6a5a8ed48584736b6eb3bf5 /locale/nl_langinfo.c
parentUpdate. (diff)
downloadglibc-b02b9253e0c1770707ed791f0aa274af79886932.tar.gz
glibc-b02b9253e0c1770707ed791f0aa274af79886932.tar.bz2
glibc-b02b9253e0c1770707ed791f0aa274af79886932.zip
Update.
2000-02-12 Ulrich Drepper <drepper@redhat.com> * locale/nl_langinfo.h: Add casts to prevent warnings. * wctype/iswctype_l.c: Use correct types for mapped data. * wctype/wcfuncs.c: Add one more comment for clarification. * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper. * wctype/wctrans.c: Likewise.
Diffstat (limited to 'locale/nl_langinfo.c')
-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;