From: Roy Marples Date: Wed, 12 Feb 2025 11:24:07 +0000 (+0000) Subject: DHCP: Remove a compile warning X-Git-Tag: v10.2.0~8 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=68deb69d0e5e4e39f993d4c34f0ed7c980905271;p=thirdparty%2Fdhcpcd.git DHCP: Remove a compile warning --- 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) {