adig: compiler warnings

Resolve a couple of minor compiler warnings with the new
adig rcfile reading.

Fix By: Brad House (@bradh352)
pull/871/head
Brad House 3 months ago
parent 7fb17cbe64
commit b4b430f0f8
  1. 2
      src/tools/adig.c

@ -347,7 +347,7 @@ static ares_bool_t read_rcfile(adig_config_t *config)
} else {
snprintf(config->error, sizeof(config->error),
"rcfile at %s is invalid: %s", rcfile, ares_strerror(rcstatus));
"rcfile is invalid: %s", ares_strerror((int)rcstatus));
}
ares_free_array(rcargv, rcargc, ares_free);

Loading…
Cancel
Save