From b02b9253e0c1770707ed791f0aa274af79886932 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:40:16 +0000 Subject: Update. 2000-02-12 Ulrich Drepper * 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. --- wctype/wctrans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wctype/wctrans.c') diff --git a/wctype/wctrans.c b/wctype/wctrans.c index 5d7b5bda38..a9f83e40b9 100644 --- a/wctype/wctrans.c +++ b/wctype/wctrans.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -45,9 +45,9 @@ wctrans (const char *property) return 0; if (cnt == 0) - return (wctrans_t) __ctype_toupper; + return (wctrans_t) __ctype32_toupper; else if (cnt == 1) - return (wctrans_t) __ctype_tolower; + return (wctrans_t) __ctype32_tolower; /* We have to search the table. */ result = (int32_t *) _NL_CURRENT (LC_CTYPE, _NL_NUM_LC_CTYPE + cnt - 2); -- cgit v1.2.3