diff options
author | jkh <jkh@FreeBSD.org> | 1997-09-15 09:46:42 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-09-15 09:46:42 +0000 |
commit | b699439ba5400f4176886de24450490d66a69030 (patch) | |
tree | 3164541f3ba0500507fa8f6f5d50cb90a0939884 /usr.bin | |
parent | 75fe7a4d61fa3bff5b5a33257b5f024ed9e92bef (diff) | |
download | FreeBSD-src-b699439ba5400f4176886de24450490d66a69030.zip FreeBSD-src-b699439ba5400f4176886de24450490d66a69030.tar.gz |
Silence a warning with a cast.
Diffstat (limited to 'usr.bin')
-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 a6a16ba..e0b1de2 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)); } |