summaryrefslogtreecommitdiff
path: root/src/xmltree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmltree.c')
-rw-r--r--src/xmltree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmltree.c b/src/xmltree.c
index a675cbc9..3ef7f977 100644
--- a/src/xmltree.c
+++ b/src/xmltree.c
@@ -841,7 +841,7 @@ xmlSecGenerateID(const xmlChar* prefix, xmlSecSize len) {
return(NULL);
}
- xmlSecStrPrintf(tmp, tmpLen, BAD_CAST "%s%s", prefix, res);
+ xmlSecStrPrintf(tmp, tmpLen, "%s%s", prefix, res);
xmlFree(res);
res = tmp;
} else {
@@ -1055,7 +1055,7 @@ xmlSecGetQName(xmlNodePtr node, const xmlChar* href, const xmlChar* local) {
xmlSecErrorsSafeString(node->name));
return(NULL);
}
- xmlSecStrPrintf(qname, len, BAD_CAST "%s:%s", ns->prefix, local);
+ xmlSecStrPrintf(qname, len, "%s:%s", ns->prefix, local);
} else {
qname = xmlStrdup(local);
if(qname == NULL) {