aboutsummaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-24 04:20:50 +0000
committerRoland McGrath <roland@gnu.org>2002-09-24 04:20:50 +0000
commitd45c148997ad2c7cac00e8c00ab3fd7d106d9c04 (patch)
tree2005bbc5dda96efacb4ae96b2b7e1f9c2ed8b8ba /ctype
parentfa00744e514a99087f5fe70cac9334b29a04c93a (diff)
downloadglibc-d45c148997ad2c7cac00e8c00ab3fd7d106d9c04.tar
glibc-d45c148997ad2c7cac00e8c00ab3fd7d106d9c04.tar.gz
glibc-d45c148997ad2c7cac00e8c00ab3fd7d106d9c04.tar.bz2
glibc-d45c148997ad2c7cac00e8c00ab3fd7d106d9c04.zip
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.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype.c4
1 files changed, 2 insertions, 2 deletions
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)