mirror of
https://github.com/nmap/nmap.git
synced 2026-06-28 04:03:30 +00:00
Fix an nsock build error under MSVC.
This commit is contained in:
parent
b0abceec37
commit
6805376faf
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ static int heap_grow(gh_heap_t *heap) {
|
|||
/* Do we really need to grow? */
|
||||
assert(heap->count == heap->highwm);
|
||||
|
||||
heap->slots = safe_realloc(heap->slots,
|
||||
heap->slots = (gh_hnode_t **)safe_realloc(heap->slots,
|
||||
(heap->count + GH_SLOTS) * sizeof(gh_hnode_t *));
|
||||
heap->highwm += GH_SLOTS;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue