summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/fix-caddr_t.patch
blob: 2fa00a9bd6ac89fed3991f8a04819c9e12edf675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./dhcp6.c.orig
+++ ./dhcp6.c
@@ -835,8 +835,8 @@
 
 	ctx = ifp->ctx->ipv6;
 	dst.sin6_scope_id = ifp->index;
-	ctx->sndhdr.msg_name = (caddr_t)&dst;
-	ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
+	ctx->sndhdr.msg_name = (void *)&dst;
+	ctx->sndhdr.msg_iov[0].iov_base = (void *)state->send;
 	ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
 
 	/* Set the outbound interface */