summaryrefslogtreecommitdiffstats
path: root/src/modules/mod_addr/mod_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/mod_addr/mod_addr.c')
-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;
}