mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix compiler warning.
This commit is contained in:
@@ -413,7 +413,7 @@ size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
|
|||||||
for (o2 = offset + 5; o2 < offset + len + 5; o2 += elen + 1)
|
for (o2 = offset + 5; o2 < offset + len + 5; o2 += elen + 1)
|
||||||
{
|
{
|
||||||
elen = option_uint(opt, o2, 1);
|
elen = option_uint(opt, o2, 1);
|
||||||
if ((o2 + elen + 1 <= option_len(opt)) &&
|
if ((o2 + elen + 1 <= (unsigned)option_len(opt)) &&
|
||||||
(match = match_bytes(o, option_ptr(opt, o2 + 1), elen)))
|
(match = match_bytes(o, option_ptr(opt, o2 + 1), elen)))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user