mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fixed a compiler warning
This commit is contained in:
parent
c860732097
commit
5d942ab1bd
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,7 +1291,7 @@ int determineScanGroupSize(int hosts_scanned_so_far,
|
|||
|
||||
groupsize = box(o.minHostGroupSz(), o.maxHostGroupSz(), groupsize);
|
||||
|
||||
if (o.max_ips_to_scan && (o.max_ips_to_scan - hosts_scanned_so_far) < groupsize)
|
||||
if (o.max_ips_to_scan && (o.max_ips_to_scan - hosts_scanned_so_far) < (unsigned int)groupsize)
|
||||
// don't scan more randomly generated hosts than was specified
|
||||
groupsize = o.max_ips_to_scan - hosts_scanned_so_far;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue