From ef4fda8be569f278fc0fa8422e05dc00dfb6881a Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Wed, 24 Nov 2010 12:39:01 -0500 Subject: [PATCH] On Linux, cast "res" arg in clnt_call to proper type. Signed-off-by: Erez Zadok --- amq/amq_clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amq/amq_clnt.c b/amq/amq_clnt.c index 63b02a24..172e4a15 100644 --- a/amq/amq_clnt.c +++ b/amq/amq_clnt.c @@ -108,7 +108,7 @@ amqproc_sync_umnt_1(amq_string *argp, CLIENT *clnt) memset((char *) &res, 0, sizeof(res)); if ((rv = clnt_call(clnt, AMQPROC_SYNC_UMNT, (XDRPROC_T_TYPE) xdr_amq_string, (SVC_IN_ARG_TYPE) argp, - (XDRPROC_T_TYPE) xdr_amq_sync_umnt, &res, + (XDRPROC_T_TYPE) xdr_amq_sync_umnt, (SVC_IN_ARG_TYPE) &res, TIMEOUT)) != RPC_SUCCESS) { return (NULL); } -- 2.43.0