diff options
author | peter <peter@FreeBSD.org> | 1998-05-31 17:48:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-05-31 17:48:07 +0000 |
commit | cbeeaf83f285b6b7ce0aa7026de037ac83a9ea73 (patch) | |
tree | 629a390b369e745d263588ce6035ad83850d6763 /sys/nfsserver/nfsm_subs.h | |
parent | e58631da3c81e111dd78b54402762f8f6875aa62 (diff) | |
download | FreeBSD-src-cbeeaf83f285b6b7ce0aa7026de037ac83a9ea73.zip FreeBSD-src-cbeeaf83f285b6b7ce0aa7026de037ac83a9ea73.tar.gz |
Some const's
Obtained from: NetBSD
Diffstat (limited to 'sys/nfsserver/nfsm_subs.h')
-rw-r--r-- | sys/nfsserver/nfsm_subs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsserver/nfsm_subs.h b/sys/nfsserver/nfsm_subs.h index c8176c9..d6bdc63 100644 --- a/sys/nfsserver/nfsm_subs.h +++ b/sys/nfsserver/nfsm_subs.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); \ |