From 8fe3fc78299dbd5fc3612853a502a99fbaf35451 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 29 Dec 2023 00:59:58 +0100 Subject: check_dhcp: Make implicit conversion explicit to dismiss warning --- plugins-root/check_dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 6b07df51..4b8f5e27 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c @@ -497,7 +497,7 @@ int send_dhcp_discover(int sock){ memcpy(&discover_packet.options[opts],&requested_address,sizeof(requested_address)); opts += sizeof(requested_address); } - discover_packet.options[opts++]=DHCP_OPTION_END; + discover_packet.options[opts++]= (char)DHCP_OPTION_END; /* unicast fields */ if(unicast) -- cgit v1.2.3-74-g34f1