mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
fix c99-ism in nsock test
This commit is contained in:
parent
eb5a7848ec
commit
a16b2848ef
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,8 @@ void gh_heap_verify(gh_heap_t *heap) {
|
|||
gh_hnode_t *a, *b, *c;
|
||||
unsigned int bi, ci;
|
||||
unsigned int count = gh_heap_count(heap);
|
||||
for (unsigned int i=0; i < heap->count; i++) {
|
||||
unsigned int i;
|
||||
for (i=0; i < heap->count; i++) {
|
||||
a = gh_heap_find(heap, i);
|
||||
bi = (i << 1) + 1;
|
||||
assert(a->index == i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue