mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fixed small format specifier error that caused a compiler warning
This commit is contained in:
parent
da126c8b78
commit
c7be757035
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ int TargetGroup::parse_expr(const char * const target_expr, int af) {
|
|||
}
|
||||
|
||||
if (resolvedaddrs.size() > 1 && o.verbose > 1)
|
||||
error("Warning: Hostname %s resolves to %d IPs. Using %s.", target_net, resolvedaddrs.size(), inet_ntop_ez(&ss, sslen));
|
||||
error("Warning: Hostname %s resolves to %lu IPs. Using %s.", target_net, (unsigned long)resolvedaddrs.size(), inet_ntop_ez(&ss, sslen));
|
||||
|
||||
if (netmask) {
|
||||
struct sockaddr_in *sin = (struct sockaddr_in *) &ss;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue