From 1e587bec57bd48ce27cb008b94640505a45863be Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Thu, 20 Feb 2025 23:55:04 +0000 Subject: [PATCH] Silence compiler warning. --- src/rrfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrfilter.c b/src/rrfilter.c index f50e873..d13ed22 100644 --- a/src/rrfilter.c +++ b/src/rrfilter.c @@ -377,7 +377,7 @@ int expand_workspace(unsigned char ***wkspc, int *szp, int new) int to_wire(char *name) { unsigned char *l, *p, *q, term; - int len; + unsigned int len; for (l = (unsigned char*)name; *l != 0; l = p) { @@ -409,7 +409,7 @@ int to_wire(char *name) void from_wire(char *name) { unsigned char *l, *p, *last; - int len; + unsigned int len; for (last = (unsigned char *)name; *last != 0; last += *last+1);