aboutsummaryrefslogtreecommitdiff
path: root/stdlib/strtod.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-28 10:16:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-28 10:16:21 +0000
commit4124ff9971b78f172ee2a8ec07a5542d7a5a56d5 (patch)
tree224e219a6b6340f2693fd037b0b84d298dccc3d5 /stdlib/strtod.c
parent05b2fb299d70224cf81c51beb987b8ad97054058 (diff)
downloadglibc-4124ff9971b78f172ee2a8ec07a5542d7a5a56d5.zip
glibc-4124ff9971b78f172ee2a8ec07a5542d7a5a56d5.tar.gz
glibc-4124ff9971b78f172ee2a8ec07a5542d7a5a56d5.tar.bz2
(strtol): Add some more casts to avoid warnings.
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r--stdlib/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index 518b171..63a3a97 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -676,8 +676,8 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM)
/* If no other digit but a '0' is found the result is 0.0.
Return current read pointer. */
if ((c < L_('0') || c > L_('9'))
- && (base == 16 && (c < (wint_t) TOLOWER (L_('a'))
- || c > (wint_t) TOLOWER (L_('f'))))
+ && (base == 16 && (c < (CHAR_TYPE) TOLOWER (L_('a'))
+ || c > (CHAR_TYPE) TOLOWER (L_('f'))))
#ifdef USE_WIDE_CHAR
&& c != (wint_t) decimal
#else