aboutsummaryrefslogtreecommitdiff
path: root/pcap-pf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-pf.c')
-rw-r--r--pcap-pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-pf.c b/pcap-pf.c
index bd27933e..17863844 100644
--- a/pcap-pf.c
+++ b/pcap-pf.c
@@ -128,7 +128,7 @@ pcap_read_pf(pcap_t *pc, int cnt, pcap_handler callback, u_char *user)
sizeof(pc->errbuf), errno, "pf read");
return (-1);
}
- bp = (u_char *)pc->buffer + pc->offset;
+ bp = pc->buffer + pc->offset;
} else
bp = pc->bp;
/*