From e0df7b687339fc035ef0148e161d77f01dcc2d9a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 7 Mar 2013 00:15:48 +0100 Subject: [PATCH] unix: fix strict aliasing warning in udp.c --- src/unix/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {