aboutsummaryrefslogtreecommitdiff
path: root/pcap-snit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-snit.c')
-rw-r--r--pcap-snit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-snit.c b/pcap-snit.c
index 3f4e69d7..0bd4dabe 100644
--- a/pcap-snit.c
+++ b/pcap-snit.c
@@ -133,7 +133,7 @@ pcap_read_snit(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
errno, "pcap_read");
return (-1);
}
- bp = (u_char *)p->buffer;
+ bp = p->buffer;
} else
bp = p->bp;