unix: fix strict aliasing warning in udp.c
This commit is contained in:
parent
b6a50c7295
commit
e0df7b6873
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user