From 65de42dc08e8b69116133b66f12a6e8686e276a8 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 15 Sep 1997 09:47:16 +0000 Subject: [PATCH] Proper casting for clnt_broadcast() args. --- usr.bin/rusers/rusers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c index a3de952c2a88..2ac8837aa2e4 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 @@ -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)); }