summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-11 14:58:34 +0000
committermike <mike@FreeBSD.org>2002-10-11 14:58:34 +0000
commit8630abe45fe3751d8cc345f537ad98962a59ef5e (patch)
tree60ccb9ea10edcf3d8fc8975fb348b756ea207e35 /sys/isofs/cd9660
parentb3c0f70717dc721a9076491fe80fef2e28c95424 (diff)
downloadFreeBSD-src-8630abe45fe3751d8cc345f537ad98962a59ef5e.zip
FreeBSD-src-8630abe45fe3751d8cc345f537ad98962a59ef5e.tar.gz
Change iov_base's type from `char *' to the standard `void *'. All
uses of iov_base which assume its type is `char *' (in order to do pointer arithmetic) have been updated to cast iov_base to `char *'.
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index dfa9486..148d5a7 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -696,7 +696,7 @@ cd9660_readlink(ap)
return (error);
}
uio->uio_resid -= symlen;
- uio->uio_iov->iov_base += symlen;
+ uio->uio_iov->iov_base = (char *)uio->uio_iov->iov_base + symlen;
uio->uio_iov->iov_len -= symlen;
return (0);
}
OpenPOWER on IntegriCloud