From: headshog Date: Mon, 17 Jul 2023 15:38:50 +0000 (+0300) Subject: fix pcap-util.c X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/ad2b500d4c7ab1398a14cd728e1379bcad0954a6 fix pcap-util.c --- diff --git a/pcap-util.c b/pcap-util.c index 1579a84d..962264ec 100644 --- a/pcap-util.c +++ b/pcap-util.c @@ -344,7 +344,7 @@ swap_nflog_header(const struct pcap_pkthdr *hdr, u_char *buf) nflog_tlv_t *tlv; u_int caplen = hdr->caplen; u_int length = hdr->len; - uint16_t size; + u_int size; if (caplen < (u_int) sizeof(nflog_hdr_t) || length < (u_int) sizeof(nflog_hdr_t)) {