Browse Source

2002-09-23 Roland McGrath <roland@redhat.com>

* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
	instead of uint32_t in these macros.
cvs/fedora-2_3-branch
Roland McGrath 24 years ago
parent
commit
d45c148997
  1. 4
      ctype/ctype.c

4
ctype/ctype.c

@ -37,9 +37,9 @@ func (isupper, _ISupper)
func (isxdigit, _ISxdigit)
#define __ctype_tolower \
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
#define __ctype_toupper \
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
int
tolower (int c)

Loading…
Cancel
Save