summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-04-29 17:36:21 +0100
committerRoy Marples <roy@marples.name>2019-04-29 17:36:21 +0100
commita9a0bf9e89ced9cd04720cdd6fcb6d6068159ff0 (patch)
treef00da2a9a4df2bd9172e6af8e64271e85eb4696c
parent640ac214194d32a0696d1a64569ea82365a7af0c (diff)
downloaddhcpcd-a9a0bf9e89ced9cd04720cdd6fcb6d6068159ff0.tar.xz
dhcp: Cast away a warning on mips64
-rw-r--r--src/dhcp.c2
1 files changed, 1 insertions, 1 deletions
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
}