aboutsummaryrefslogtreecommitdiff
path: root/pcap-libdlpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-libdlpi.c')
-rw-r--r--pcap-libdlpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-libdlpi.c b/pcap-libdlpi.c
index f281fb93..82962975 100644
--- a/pcap-libdlpi.c
+++ b/pcap-libdlpi.c
@@ -423,7 +423,7 @@ pcap_read_libdlpi(pcap_t *p, int count, pcap_handler callback, u_char *user)
}
msglen = p->bufsize;
- bufp = (u_char *)p->buffer + p->offset;
+ bufp = p->buffer + p->offset;
retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp,
&msglen, -1, NULL);