diff options
author | Ben Greear <greearb@candelatech.com> | 2010-07-30 15:11:54 -0700 |
---|---|---|
committer | Ben Greear <greearb@candelatech.com> | 2010-07-30 15:11:54 -0700 |
commit | 8d3380497112f08bcdd1107124b045fd95a95dba (patch) | |
tree | 0909a6ef31a2b493d3f95635f5748e47f09eccf3 /ares_options.c | |
parent | f575aea364677a3c318e76972e67963ef873c813 (diff) | |
download | c-ares-8d3380497112f08bcdd1107124b045fd95a95dba.tar.gz c-ares-8d3380497112f08bcdd1107124b045fd95a95dba.tar.bz2 c-ares-8d3380497112f08bcdd1107124b045fd95a95dba.zip |
cast arg to isdigit to int
Looks like it might silence a warning on Netware build.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'ares_options.c')
-rw-r--r-- | ares_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_options.c b/ares_options.c index 26dc678..461784b 100644 --- a/ares_options.c +++ b/ares_options.c @@ -178,7 +178,7 @@ int ares_set_servers_csv(ares_channel channel, while (pp > start_host) { if (*pp == ':') break; /* yes */ - if (!isdigit(*pp)) { + if (!isdigit((int)(*pp))) { /* Found end of digits before we found :, so wasn't a port */ pp = ptr; break; |