From eec256de797ad952d7431e420d2367722d8cbf38 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 28 Jul 2004 06:21:53 +0000 Subject: Avoid casts as lvalues. --- sys/dev/firewire/firewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/firewire') diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index 9bd5dd66631a..f2b7164eaf11 100644 --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -1760,7 +1760,7 @@ fw_rcv_copy(struct fw_rcv_buf *rb) /* Copy header */ p = (u_char *)&rb->xfer->recv.hdr; bcopy(rb->vec->iov_base, p, tinfo->hdr_len); - (u_char *)rb->vec->iov_base += tinfo->hdr_len; + rb->vec->iov_base = (u_char *)rb->vec->iov_base + tinfo->hdr_len; rb->vec->iov_len -= tinfo->hdr_len; /* Copy payload */ -- cgit v1.3