summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-09-15 09:47:16 +0000
committerjkh <jkh@FreeBSD.org>1997-09-15 09:47:16 +0000
commit77b0abb48bdcc7b00c7f399c11e1dd2cd7de9e2b (patch)
treeb254f130c2ac2397bedc1796494da1dfebe6a87e /usr.bin
parentb699439ba5400f4176886de24450490d66a69030 (diff)
downloadFreeBSD-src-77b0abb48bdcc7b00c7f399c11e1dd2cd7de9e2b.zip
FreeBSD-src-77b0abb48bdcc7b00c7f399c11e1dd2cd7de9e2b.tar.gz
Proper casting for clnt_broadcast() args.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rusers/rusers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index a3de952..2ac8837 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -33,7 +33,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: rusers.c,v 1.5 1997/02/22 19:56:52 peter Exp $";
+ "$Id: rusers.c,v 1.6 1997/08/08 12:12:54 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -204,7 +204,7 @@ allhosts()
bzero((char *)&up, sizeof(up));
clnt_stat = clnt_broadcast(RUSERSPROG, RUSERSVERS_IDLE, RUSERSPROC_NAMES,
xdr_void, NULL,
- xdr_utmpidlearr, &up, rusers_reply);
+ xdr_utmpidlearr, (char *)&up, rusers_reply);
if (clnt_stat != RPC_SUCCESS && clnt_stat != RPC_TIMEDOUT)
errx(1, "%s", clnt_sperrno(clnt_stat));
}
OpenPOWER on IntegriCloud