summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_io.h')
-rw-r--r--pcap_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap_io.h b/pcap_io.h
index 310ac6c..31685b4 100644
--- a/pcap_io.h
+++ b/pcap_io.h
@@ -570,7 +570,7 @@ static const struct pcap_magic_type pcap_magic_types[] __maybe_unused = {
static inline void pcap_dump_type_features(void)
{
- int i;
+ size_t i;
for (i = 0; i < array_size(pcap_magic_types); ++i) {
printf("%s:\n", pcap_magic_types[i].desc);