summaryrefslogtreecommitdiffstats
path: root/src/modules/mod_addr
diff options
context:
space:
mode:
authorGravatar nadiramra2010-06-02 03:00:12 +0000
committerGravatar nadiramra2010-06-02 03:00:12 +0000
commitdd78e2b3734196578f85d1cc15ccf86a38dba1e5 (patch)
treead15a66d4708e912fd141cf316874ce699d0b991 /src/modules/mod_addr
parentaf93f3e81360d8283cf83eb22b9f3165e097774d (diff)
downloadaxis2c-dd78e2b3734196578f85d1cc15ccf86a38dba1e5.tar.gz
axis2c-dd78e2b3734196578f85d1cc15ccf86a38dba1e5.tar.bz2
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
Diffstat (limited to 'src/modules/mod_addr')
-rw-r--r--src/modules/mod_addr/mod_addr.c11
1 files changed, 7 insertions, 4 deletions
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;
}