diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-13 07:40:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-13 07:40:16 +0000 |
commit | b02b9253e0c1770707ed791f0aa274af79886932 (patch) | |
tree | c96810ca1b2a2c7cb6a5a8ed48584736b6eb3bf5 /wctype/iswctype_l.c | |
parent | 65580ca855fa11f6e5bb0ab7f277abd82115151d (diff) | |
download | glibc-b02b9253e0c1770707ed791f0aa274af79886932.tar glibc-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 'wctype/iswctype_l.c')
-rw-r--r-- | wctype/iswctype_l.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wctype/iswctype_l.c b/wctype/iswctype_l.c index 75fb41c4c8..fa4e024fce 100644 --- a/wctype/iswctype_l.c +++ b/wctype/iswctype_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996. @@ -27,14 +27,14 @@ int __iswctype_l (wint_t wc, wctype_t desc, __locale_t locale) { - const unsigned int *class32_b; + const uint32_t *class32_b; size_t idx; idx = cname_lookup (wc, locale); if (idx == ~((size_t) 0)) return 0; - class32_b = (u_int32_t *) + class32_b = (uint32_t *) locale->__locales[LC_CTYPE]->values[_NL_ITEM_INDEX (_NL_CTYPE_CLASS32)].string; return class32_b[idx] & desc; |