diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-11-02 09:34:45 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2021-11-02 09:48:50 +0100 |
commit | 62ed9474840b96a01a0a696f00c7f83a64074afc (patch) | |
tree | 610646d6ba2d077be6321e7fe1b94fb83708972b | |
parent | 88ffe242bd70bc72969bdc7083751f334dc9d5d1 (diff) | |
download | tcpdump-62ed9474840b96a01a0a696f00c7f83a64074afc.tar.gz |
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
-rw-r--r-- | print-lwres.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |