From: Roy Marples Date: Mon, 29 Apr 2019 16:36:21 +0000 (+0100) Subject: dhcp: Cast away a warning on mips64 X-Git-Tag: v7.2.2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a0bf9e89ced9cd04720cdd6fcb6d6068159ff0;p=thirdparty%2Fdhcpcd.git dhcp: Cast away a warning on mips64 --- diff --git a/src/dhcp.c b/src/dhcp.c index 8291dd23..f66f180b 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -3506,7 +3506,7 @@ dhcp_readudp(struct dhcpcd_ctx *ctx, struct interface *ifp) } } - dhcp_handlebootp(ifp, (struct bootp *)buf, (size_t)bytes, + dhcp_handlebootp(ifp, (struct bootp *)(void *)buf, (size_t)bytes, &from.sin_addr); #endif }