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.
This commit is contained in:
Roland McGrath 2002-09-24 04:20:50 +00:00
parent fa00744e51
commit d45c148997

View File

@ -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)