Skip to content

Commit

Permalink
explicit cast from void*
Browse files Browse the repository at this point in the history
  • Loading branch information
sphaero committed Aug 31, 2021
1 parent df77858 commit 3e11705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zoscdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ main (int argc, char *argv [])
}

zpoller_destroy(&poller);
zsock_t *sock = zlist_first(sockets);
zsock_t *sock = (zsock_t *)zlist_first(sockets);
while (sock)
{
zsock_destroy(&sock);
sock = zlist_next(sockets);
sock = (zsock_t *)zlist_next(sockets);
}

return ret;
Expand Down

0 comments on commit 3e11705

Please sign in to comment.