From d45c148997ad2c7cac00e8c00ab3fd7d106d9c04 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 24 Sep 2002 04:20:50 +0000 Subject: 2002-09-23 Roland McGrath * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros. --- ctype/ctype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctype') diff --git a/ctype/ctype.c b/ctype/ctype.c index 4d5b0d2307..1b606c5b2d 100644 --- a/ctype/ctype.c +++ b/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) -- cgit v1.2.3-65-gdbad