Skip to content

Commit 91ab05a

Browse files
committed
Explicitly cast the pointer type in PyXmlSec_ClearReplacedNodes
1 parent 29da1ad commit 91ab05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static void PyXmlSec_ClearReplacedNodes(xmlSecEncCtxPtr ctx, PyXmlSec_LxmlDocume
192192
PYXMLSEC_DEBUGF("clear replaced node %p", n);
193193
nn = n->next;
194194
// if n has references, it will not be deleted
195-
elem = PyXmlSec_elementFactory(doc, n);
195+
elem = (PyXmlSec_LxmlElementPtr*)PyXmlSec_elementFactory(doc, n);
196196
if (NULL == elem)
197197
xmlFreeNode(n);
198198
else

0 commit comments

Comments
 (0)