summaryrefslogtreecommitdiffstats
path: root/axiom/src
diff options
context:
space:
mode:
authorGravatar nadiramra2010-06-02 03:00:12 +0000
committerGravatar nadiramra2010-06-02 03:00:12 +0000
commitdd78e2b3734196578f85d1cc15ccf86a38dba1e5 (patch)
treead15a66d4708e912fd141cf316874ce699d0b991 /axiom/src
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 'axiom/src')
-rwxr-xr-xaxiom/src/xpath/xpath.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/axiom/src/xpath/xpath.c b/axiom/src/xpath/xpath.c
index 38f422c..90f44ad 100755
--- a/axiom/src/xpath/xpath.c
+++ b/axiom/src/xpath/xpath.c
@@ -136,7 +136,7 @@ axiom_xpath_register_function(
context->functions = axutil_hash_make(context->env);
}
- axutil_hash_set(context->functions, name, AXIS2_HASH_KEY_STRING, func);
+ axutil_hash_set(context->functions, name, AXIS2_HASH_KEY_STRING, (const void *)func);
}
}
@@ -149,7 +149,7 @@ axiom_xpath_get_function(
if(context->functions)
{
- func = axutil_hash_get(context->functions, name, AXIS2_HASH_KEY_STRING);
+ func = (axiom_xpath_function_t)axutil_hash_get(context->functions, name, AXIS2_HASH_KEY_STRING);
}
return func;
@@ -171,8 +171,7 @@ axiom_xpath_register_namespace(
if (prefix)
{
- axutil_hash_set(
- context->namespaces, prefix, AXIS2_HASH_KEY_STRING, ns);
+ axutil_hash_set(context->namespaces, prefix, AXIS2_HASH_KEY_STRING, (const void *)ns);
}
}
@@ -185,7 +184,7 @@ axiom_xpath_get_namespace(
if (context->namespaces)
{
- ns = axutil_hash_get(context->namespaces, prefix, AXIS2_HASH_KEY_STRING);
+ ns = (axiom_namespace_t *)axutil_hash_get(context->namespaces, prefix, AXIS2_HASH_KEY_STRING);
}
return ns;