From 62ed9474840b96a01a0a696f00c7f83a64074afc Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 2 Nov 2021 09:34:45 +0100 Subject: lwres: Update a variable type This should address two AppVeyor/Visual Studio 2019/x64 warnings: print-lwres.c(197,23): warning C4267: 'function': conversion from 'size_t' to 'u_int', possible loss of data print-lwres.c(201,14): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data --- print-lwres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print-lwres.c b/print-lwres.c index f28eab97..1c195a4d 100644 --- a/print-lwres.c +++ b/print-lwres.c @@ -191,7 +191,7 @@ extern const struct tok ns_class2str[]; static unsigned lwres_printname(netdissect_options *ndo, - size_t l, const u_char *p0) + u_int l, const u_char *p0) { ND_PRINT(" "); nd_printjn(ndo, p0, l); -- cgit v1.2.1