diff --git a/src/unix/udp.c b/src/unix/udp.c index 49028985..e1a12f2b 100644 --- a/src/unix/udp.c +++ b/src/unix/udp.c @@ -216,7 +216,7 @@ static void uv__udp_recvmsg(uv_loop_t* loop, assert(buf.base != NULL); h.msg_namelen = sizeof(peer); - h.msg_iov = (struct iovec*)&buf; + h.msg_iov = (void*) &buf; h.msg_iovlen = 1; do {