aboutsummaryrefslogtreecommitdiff
path: root/pcap-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-util.c')
-rw-r--r--pcap-util.c2
1 files changed, 1 insertions, 1 deletions
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)) {