summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_raw.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-12-14 06:49:36 +0000
committertholo <tholo@openbsd.org>1996-12-14 06:49:36 +0000
commit198c6cf51167a9bc60fc9a12c29bdced0df8c37a (patch)
tree2fefa1099cd0f864190c186748307f8d10bba747 /lib/libc/rpc/clnt_raw.c
parentNow does not display responses to other peoples stuff, like UDP packets (diff)
downloadwireguard-openbsd-198c6cf51167a9bc60fc9a12c29bdced0df8c37a.tar.xz
wireguard-openbsd-198c6cf51167a9bc60fc9a12c29bdced0df8c37a.zip
Clean up lint and compile warnings
Diffstat (limited to 'lib/libc/rpc/clnt_raw.c')
-rw-r--r--lib/libc/rpc/clnt_raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_raw.c b/lib/libc/rpc/clnt_raw.c
index 9c3a75135df..e9cf2455f89 100644
--- a/lib/libc/rpc/clnt_raw.c
+++ b/lib/libc/rpc/clnt_raw.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_raw.c,v 1.4 1996/09/15 09:31:32 tholo Exp $";
+static char *rcsid = "$OpenBSD: clnt_raw.c,v 1.5 1996/12/14 06:49:41 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -149,7 +149,7 @@ call_again:
XDR_SETPOS(xdrs, 0);
((struct rpc_msg *)clp->mashl_callmsg)->rm_xid ++ ;
if ((! XDR_PUTBYTES(xdrs, clp->mashl_callmsg, clp->mcnt)) ||
- (! XDR_PUTLONG(xdrs, &proc)) ||
+ (! XDR_PUTLONG(xdrs, (long *)&proc)) ||
(! AUTH_MARSHALL(h->cl_auth, xdrs)) ||
(! (*xargs)(xdrs, argsp))) {
return (RPC_CANTENCODEARGS);