Fixes:
agent.c: In function '_DtCm_init_agent':
agent.c:160: warning: passing argument 5 of 'registerrpc' from incompatible 
pointer type
agent.c:160: warning: passing argument 6 of 'registerrpc' from incompatible 
pointer type
agent.c:167: warning: passing argument 5 of 'registerrpc' from incompatible 
pointer type
agent.c:167: warning: passing argument 6 of 'registerrpc' from incompatible 
pointer type
---
 cde/lib/csa/agent.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cde/lib/csa/agent.c b/cde/lib/csa/agent.c
index c41ab79..3c84a44 100644
--- a/cde/lib/csa/agent.c
+++ b/cde/lib/csa/agent.c
@@ -156,15 +156,15 @@ _DtCm_init_agent()
        }
  
        if (registerrpc(_DtCm_transient, AGENTVERS, update_callback,
-           (char *(*)())_DtCm_update_callback_1, _DtCm_xdr_Table_Res_4,
-           _DtCm_xdr_Update_Status) == -1) {
+           (char *(*)())_DtCm_update_callback_1, 
(xdrproc_t)_DtCm_xdr_Table_Res_4,
+           (xdrproc_t)_DtCm_xdr_Update_Status) == -1) {
                _DtCm_print_errmsg("Cannot register v1 callback handler\n");
                _DtCm_print_errmsg("Callback cannot be enabled.\n");
        }
 
        if (registerrpc(_DtCm_transient, AGENTVERS_2, CMCB_UPDATE_CALLBACK,
            (char *(*)())cmcb_update_callback_2_svc,
-           xdr_cmcb_update_callback_args, xdr_void) == -1) {
+           (xdrproc_t)xdr_cmcb_update_callback_args, (xdrproc_t)xdr_void) == 
-1) {
                _DtCm_print_errmsg("Cannot register v2 callback handler\n");
                _DtCm_print_errmsg("Callback cannot be enabled.\n");
        }
-- 
1.7.9.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to