diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-05-31 17:48:07 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-05-31 17:48:07 +0000 |
commit | c489c83e4c4ad21e649c79fe13b835da3d92e988 (patch) | |
tree | 6bf3e84f588e8b1fd0727a6d0415c4ea4634c8f0 /sys/nfs/nfs_common.h | |
parent | e8cf20c8db8a4daada5ab17fcf5186032f2b4e46 (diff) | |
download | src-c489c83e4c4ad21e649c79fe13b835da3d92e988.tar.gz src-c489c83e4c4ad21e649c79fe13b835da3d92e988.zip |
Some const's
Obtained from: NetBSD
Notes
Notes:
svn path=/head/; revision=36511
Diffstat (limited to 'sys/nfs/nfs_common.h')
-rw-r--r-- | sys/nfs/nfs_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h index c8176c98b0b9..d6bdc632bb0d 100644 --- a/sys/nfs/nfs_common.h +++ b/sys/nfs/nfs_common.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfsm_subs.h 8.2 (Berkeley) 3/30/95 - * $Id: nfsm_subs.h,v 1.16 1998/05/16 15:11:24 bde Exp $ + * $Id: nfsm_subs.h,v 1.17 1998/05/31 17:27:57 peter Exp $ */ @@ -317,7 +317,7 @@ struct mbuf *nfsm_rpchead __P((struct ucred *cr, int nmflag, int procid, nfsm_build(tl,u_long *,t2); \ *tl++ = txdr_unsigned(s); \ *(tl+((t2>>2)-2)) = 0; \ - bcopy((caddr_t)(a), (caddr_t)tl, (s)); \ + bcopy((const char *)(a), (caddr_t)tl, (s)); \ } else if ((t2 = nfsm_strtmbuf(&mb, &bpos, (a), (s))) != 0) { \ error = t2; \ m_freem(mreq); \ |