]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcp: Cast away a warning on mips64
authorRoy Marples <roy@marples.name>
Mon, 29 Apr 2019 16:36:21 +0000 (17:36 +0100)
committerRoy Marples <roy@marples.name>
Mon, 29 Apr 2019 16:36:21 +0000 (17:36 +0100)
src/dhcp.c

index 8291dd23101aac76382f3b75adb5f67494b30fb9..f66f180bb0baf6bc8bcfdc1469ad5b95c8243006 100644 (file)
@@ -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
 }