mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Fixed the warning about signed and unsigned comparision by changing j into an unsigned variable.
This commit is contained in:
parent
9d32482c5a
commit
87768241ec
1 changed files with 2 additions and 1 deletions
|
|
@ -137,7 +137,8 @@ void addrset_free(struct addrset *set)
|
|||
void addrset_elem_print(FILE *fp, const struct addrset_elem *elem)
|
||||
{
|
||||
const size_t num_bitvector = sizeof(octet_bitvector) / sizeof(bitvector_t);
|
||||
int i, j;
|
||||
int i;
|
||||
size_t j;
|
||||
|
||||
if (elem->type == ADDRSET_TYPE_IPV4_BITVECTOR) {
|
||||
for (i = 0; i < 4; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue