diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-12 21:15:36 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-12 21:15:36 (GMT) |
commit | 1b7ba8bdd9b512122ffd22cbbba5e05741743f00 (patch) | |
tree | 358c9069ca7efa96e9630c3f705c6471dbd50ad7 /Source/CTest/Curl/getdate.c | |
parent | 13281642080871ee875cf243c9004178342fe1ef (diff) | |
download | CMake-1b7ba8bdd9b512122ffd22cbbba5e05741743f00.zip CMake-1b7ba8bdd9b512122ffd22cbbba5e05741743f00.tar.gz CMake-1b7ba8bdd9b512122ffd22cbbba5e05741743f00.tar.bz2 |
ERR: Attempt to remove warnings
Diffstat (limited to 'Source/CTest/Curl/getdate.c')
-rw-r--r-- | Source/CTest/Curl/getdate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/CTest/Curl/getdate.c b/Source/CTest/Curl/getdate.c index 33fedfa..14edfed 100644 --- a/Source/CTest/Curl/getdate.c +++ b/Source/CTest/Curl/getdate.c @@ -80,13 +80,13 @@ #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) # define IN_CTYPE_DOMAIN(c) 1 #else -# define IN_CTYPE_DOMAIN(c) isascii(c) +# define IN_CTYPE_DOMAIN(c) isascii((int)(c)) #endif -#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) -#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) -#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) -#define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) +#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace ((int)(c))) +#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha ((int)(c))) +#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper ((int)(c))) +#define ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit ((int)(c))) /* ISDIGIT differs from ISDIGIT_LOCALE, as follows: - Its arg may be any int or unsigned int; it need not be an unsigned char. |