aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/vfscanf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-24 23:53:39 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-24 23:53:39 +0000
commit68dc4dcbddb050072f959118b6793dfadf395a06 (patch)
treedfd2d389dbf2897afb3c922bd072dbca312e66aa /stdio-common/vfscanf.c
parent9ce0ecbe384f09030cd5d014e17179725e778fa6 (diff)
downloadglibc-68dc4dcbddb050072f959118b6793dfadf395a06.zip
glibc-68dc4dcbddb050072f959118b6793dfadf395a06.tar.gz
glibc-68dc4dcbddb050072f959118b6793dfadf395a06.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 603940d..ac6fcdf 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