Fixed a compiler warning

This commit is contained in:
tudor 2016-08-07 16:57:32 +00:00
parent c860732097
commit 5d942ab1bd

View file

@ -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;