From 68deb69d0e5e4e39f993d4c34f0ed7c980905271 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 12 Feb 2025 11:24:07 +0000 Subject: [PATCH] DHCP: Remove a compile warning --- src/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcp.c b/src/dhcp.c index 530ec671..d521e201 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -736,7 +736,7 @@ struct rfc3396_ctx { * when the option overflows the boundary and another option * is created to hold the resta of the data. * Tested against Wireshark-4.4.1 */ -#define RFC3396_BOUNDARY UINT8_MAX +#define RFC3396_BOUNDARY 255UL static ssize_t rfc3396_write(struct rfc3396_ctx *ctx, void *data, size_t len) { -- 2.47.2