diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-24 23:53:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-24 23:53:39 +0000 |
commit | 68dc4dcbddb050072f959118b6793dfadf395a06 (patch) | |
tree | dfd2d389dbf2897afb3c922bd072dbca312e66aa /stdio-common/vfscanf.c | |
parent | 9ce0ecbe384f09030cd5d014e17179725e778fa6 (diff) | |
download | glibc-68dc4dcbddb050072f959118b6793dfadf395a06.tar.gz |
Update.
2004-03-24 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
parameter to unsigned char.
* sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r-- | stdio-common/vfscanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 603940da4c..ac6fcdf79f 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -119,7 +119,7 @@ # define ISSPACE(Ch) __isspace_l (Ch, loc) # define ISDIGIT(Ch) __isdigit_l (Ch, loc) # define ISXDIGIT(Ch) __isxdigit_l (Ch, loc) -# define TOLOWER(Ch) __tolower_l (Ch, loc) +# define TOLOWER(Ch) __tolower_l ((unsigned char) (Ch), loc) # define ORIENT if (_IO_vtable_offset (s) == 0 \ && _IO_fwide (s, -1) != -1) \ return EOF |