1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

(strtol): Add some more casts to avoid warnings.

This commit is contained in:
Ulrich Drepper
2002-08-28 10:16:21 +00:00
parent 05b2fb299d
commit 4124ff9971
3 changed files with 9 additions and 9 deletions

View File

@ -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