mirror of
https://github.com/nmap/nmap.git
synced 2026-08-29 04:53:24 +00:00
Avoid compiler warning about signedness mismatch on VS2013.
This commit is contained in:
parent
89a1714580
commit
66eee935a9
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ static int sockaddr_to_mask (const struct sockaddr *sa, int bits, u32 *mask)
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
for (size_t i=0; i < 4; i++) {
|
||||
for (int i=0; i < 4; i++) {
|
||||
if (unmasked_bits <= 32 * (3 - i)) {
|
||||
mask[i] = 0xffffffff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue