cast arg to isdigit to int

Looks like it might silence a warning on Netware build.

Signed-off-by: Ben Greear <greearb@candelatech.com>
pull/1/head
Ben Greear 15 years ago
parent f575aea364
commit 8d33804971
  1. 2
      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;

Loading…
Cancel
Save