summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libHX/libxml_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libHX/libxml_helper.h b/include/libHX/libxml_helper.h
index 08a0a07..5a02bf0 100644
--- a/include/libHX/libxml_helper.h
+++ b/include/libHX/libxml_helper.h
@@ -118,7 +118,7 @@ static __inline__ const char *xml_getprop(const xmlNode *node, const char *attr)
static __inline__ char *xml_getnsprop(const xmlNode *node, const char *nsprefix,
const char *attr)
{
- return xml_getnsprop(const_cast<const xmlNode *>(node), nsprefix, attr);
+ return xml_getnsprop(const_cast<xmlNode *>(node), nsprefix, attr);
}
#endif