about summary refs log tree commit diff
path: root/sysdeps
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 /sysdeps
parent9ce0ecbe384f09030cd5d014e17179725e778fa6 (diff)
downloadglibc-68dc4dcbddb050072f959118b6793dfadf395a06.tar.gz
glibc-68dc4dcbddb050072f959118b6793dfadf395a06.tar.xz
glibc-68dc4dcbddb050072f959118b6793dfadf395a06.zip
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 'sysdeps')
-rw-r--r--sysdeps/generic/strcasestr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/strcasestr.c b/sysdeps/generic/strcasestr.c
index 6327dfab49..1dde43c606 100644
--- a/sysdeps/generic/strcasestr.c
+++ b/sysdeps/generic/strcasestr.c
@@ -38,7 +38,7 @@
 
 #ifdef _LIBC
 # include <locale/localeinfo.h>
-# define TOLOWER(c) __tolower_l (c, loc)
+# define TOLOWER(c) __tolower_l ((unsigned char) c, loc)
 #else
 # define TOLOWER(c) _tolower (c)
 #endif