summaryrefslogtreecommitdiff
path: root/ares_options.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-07-30 15:11:54 -0700
committerBen Greear <greearb@candelatech.com>2010-07-30 15:11:54 -0700
commit8d3380497112f08bcdd1107124b045fd95a95dba (patch)
tree0909a6ef31a2b493d3f95635f5748e47f09eccf3 /ares_options.c
parentf575aea364677a3c318e76972e67963ef873c813 (diff)
downloadc-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.c2
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;