diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-09-15 09:46:42 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-09-15 09:46:42 +0000 |
commit | 9e5569746307ddb5e85d1ee5253be1fa67632e5c (patch) | |
tree | 548fc6705c14bbd89f380c7acefa6147fa9fa8db | |
parent | 0a214d26c95dbde444ccced31b05bf7cb50c61cf (diff) | |
download | src-9e5569746307ddb5e85d1ee5253be1fa67632e5c.tar.gz src-9e5569746307ddb5e85d1ee5253be1fa67632e5c.zip |
Silence a warning with a cast.
Notes
Notes:
svn path=/head/; revision=29468
-rw-r--r-- | usr.bin/rup/rup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rup/rup.c b/usr.bin/rup/rup.c index a6a16baf53ae..e0b1de2b283e 100644 --- a/usr.bin/rup/rup.c +++ b/usr.bin/rup/rup.c @@ -33,7 +33,7 @@ #ifndef lint static const char rcsid[] = - "$Id: rup.c,v 1.7 1997/02/22 19:56:48 peter Exp $"; + "$Id: rup.c,v 1.8 1997/08/07 06:50:02 charnier Exp $"; #endif /* not lint */ #include <err.h> @@ -192,7 +192,7 @@ allhosts() clnt_stat = clnt_broadcast(RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS, xdr_void, NULL, - xdr_statstime, &host_stat, rstat_reply); + xdr_statstime, (char *)&host_stat, rstat_reply); if (clnt_stat != RPC_SUCCESS && clnt_stat != RPC_TIMEDOUT) errx(1, "%s", clnt_sperrno(clnt_stat)); } |