summaryrefslogtreecommitdiffstats
path: root/sys/dev/idt/idt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/idt/idt.c')
-rw-r--r--sys/dev/idt/idt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/idt/idt.c b/sys/dev/idt/idt.c
index fbcd916..51b197b 100644
--- a/sys/dev/idt/idt.c
+++ b/sys/dev/idt/idt.c
@@ -1556,7 +1556,7 @@ idt_queue_put(CONNECTION * connection, struct mbuf * m)
return (1);
}
m->m_nextpkt = NULL;
- m->m_pkthdr.rcvif = (struct ifnet *) connection;
+ m->m_pkthdr.rcvif = (void *) connection;
s = splimp();
@@ -1599,7 +1599,7 @@ idt_queue_flush(CONNECTION * connection)
m0 = &txqueue->mget;
m1 = *m0;
while (m1 != NULL) {
- if (m1->m_pkthdr.rcvif == (struct ifnet *) connection) {
+ if (m1->m_pkthdr.rcvif == (void *) connection) {
*m0 = m1->m_nextpkt;
m_freem(m1);
m1 = *m0;
OpenPOWER on IntegriCloud