Skip to content

Commit 3e11705

Browse files
committed
explicit cast from void*
1 parent df77858 commit 3e11705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zoscdump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ main (int argc, char *argv [])
196196
}
197197

198198
zpoller_destroy(&poller);
199-
zsock_t *sock = zlist_first(sockets);
199+
zsock_t *sock = (zsock_t *)zlist_first(sockets);
200200
while (sock)
201201
{
202202
zsock_destroy(&sock);
203-
sock = zlist_next(sockets);
203+
sock = (zsock_t *)zlist_next(sockets);
204204
}
205205

206206
return ret;

0 commit comments

Comments
 (0)