aboutsummaryrefslogtreecommitdiff
path: root/pcap-nit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-nit.c')
-rw-r--r--pcap-nit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-nit.c b/pcap-nit.c
index 6f4f8dd8..2e0a679b 100644
--- a/pcap-nit.c
+++ b/pcap-nit.c
@@ -117,7 +117,7 @@ pcap_read_nit(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;