summaryrefslogtreecommitdiffstats
path: root/usr.bin/rwall/rwall.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rwall/rwall.c')
-rw-r--r--usr.bin/rwall/rwall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rwall/rwall.c b/usr.bin/rwall/rwall.c
index 861c8cf..d5a1c1d 100644
--- a/usr.bin/rwall/rwall.c
+++ b/usr.bin/rwall/rwall.c
@@ -102,8 +102,8 @@ main(int argc, char *argv[])
tv.tv_sec = 15; /* XXX ?? */
tv.tv_usec = 0;
- if (clnt_call(cl, WALLPROC_WALL, xdr_wrapstring, &mbuf, xdr_void,
- &res, tv) != RPC_SUCCESS) {
+ if (clnt_call(cl, WALLPROC_WALL, (xdrproc_t)xdr_wrapstring, &mbuf,
+ (xdrproc_t)xdr_void, &res, tv) != RPC_SUCCESS) {
/*
* An error occurred while calling the server.
* Print error message and die.
OpenPOWER on IntegriCloud