diff options
author | mike <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-11 14:58:34 +0000 |
commit | 8630abe45fe3751d8cc345f537ad98962a59ef5e (patch) | |
tree | 60ccb9ea10edcf3d8fc8975fb348b756ea207e35 /share | |
parent | b3c0f70717dc721a9076491fe80fef2e28c95424 (diff) | |
download | FreeBSD-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 'share')
-rw-r--r-- | share/man/man9/VOP_READDIR.9 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9 index fe0a1a6b..a49f34d 100644 --- a/share/man/man9/VOP_READDIR.9 +++ b/share/man/man9/VOP_READDIR.9 @@ -123,7 +123,7 @@ vop_readdir(struct vnode *vp, struct uio *uio, struct ucred *cred, * Parse the stuff just read into the uio. */ dpStart = (struct dirent *) - (uio->uio_iov->iov_base - (uio->uio_offset - off)); + ((char *)uio->uio_iov->iov_base - (uio->uio_offset - off)); dpEnd = (struct dirent *) uio->uio_iov->iov_base; /* |