From dd78e2b3734196578f85d1cc15ccf86a38dba1e5 Mon Sep 17 00:00:00 2001 From: nadiramra Date: Wed, 2 Jun 2010 03:00:12 +0000 Subject: AXIS2C-1426 axutil_hash_set() usage require cast (warning on AIX) git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@950347 13f79535-47bb-0310-9956-ffa450edef68 --- src/modules/mod_addr/mod_addr.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/modules/mod_addr') diff --git a/src/modules/mod_addr/mod_addr.c b/src/modules/mod_addr/mod_addr.c index f92400c..d34c0e1 100644 --- a/src/modules/mod_addr/mod_addr.c +++ b/src/modules/mod_addr/mod_addr.c @@ -105,11 +105,14 @@ axis2_mod_addr_fill_handler_create_func_map( AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "No memory. Cannot create the function map"); return AXIS2_FAILURE; } - axutil_hash_set(module->handler_create_func_map, ADDR_IN_HANDLER, AXIS2_HASH_KEY_STRING, - axis2_addr_in_handler_create); - axutil_hash_set(module->handler_create_func_map, ADDR_OUT_HANDLER, AXIS2_HASH_KEY_STRING, - axis2_addr_out_handler_create); + axutil_hash_set(module->handler_create_func_map, + ADDR_IN_HANDLER, AXIS2_HASH_KEY_STRING, + (const void *)axis2_addr_in_handler_create); + + axutil_hash_set(module->handler_create_func_map, + ADDR_OUT_HANDLER, AXIS2_HASH_KEY_STRING, + (const void *)axis2_addr_out_handler_create); return AXIS2_SUCCESS; } -- cgit v1.1-32-gdbae