summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 06:21:53 +0000
committerkan <kan@FreeBSD.org>2004-07-28 06:21:53 +0000
commit4caefcbb3efd3493a8f32539679faf818ae0e1f1 (patch)
treefa20bec983805e312b0374afcf51d79ab4e27e9d /sys/dev/firewire
parent6cabb1fb0d2ee2931258c88746b2c7b7224e9632 (diff)
downloadFreeBSD-src-4caefcbb3efd3493a8f32539679faf818ae0e1f1.zip
FreeBSD-src-4caefcbb3efd3493a8f32539679faf818ae0e1f1.tar.gz
Avoid casts as lvalues.
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/firewire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index 9bd5dd6..f2b7164 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 */
OpenPOWER on IntegriCloud