summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_cx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r--sys/i386/isa/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c
index c1114c7..0cbc959 100644
--- a/sys/i386/isa/if_cx.c
+++ b/sys/i386/isa/if_cx.c
@@ -176,7 +176,7 @@ static struct mbuf *makembuf (void *buf, unsigned len)
bcopy (buf, mtod (p, caddr_t) + p->m_len, n);
p->m_len += n;
- buf += n;
+ buf = (char *)buf + n;
len -= n;
}
return (m);
OpenPOWER on IntegriCloud