2002-09-23 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 24 Sep 2002 04:20:50 +0000 (04:20 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 24 Sep 2002 04:20:50 +0000 (04:20 +0000)
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
instead of uint32_t in these macros.

ctype/ctype.c

index 4d5b0d2..1b606c5 100644 (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)