Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Roland McGrath committed Sep 24, 2002
1 parent fa00744 commit d45c148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctype/ctype.c
Expand Up @@ -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)
Expand Down

0 comments on commit d45c148

Please sign in to comment.