Skip to content

Commit 37da064

Browse files
authored
Merge pull request #325 from hroncok/type
Explicitly cast the pointer type in PyXmlSec_ClearReplacedNodes
2 parents 1b3b527 + 67cd4ac commit 37da064

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
@@ -204,7 +204,7 @@ static void PyXmlSec_ClearReplacedNodes(xmlSecEncCtxPtr ctx, PyXmlSec_LxmlDocume
204204
PYXMLSEC_DEBUGF("clear replaced node %p", n);
205205
nn = n->next;
206206
// if n has references, it will not be deleted
207-
elem = PyXmlSec_elementFactory(doc, n);
207+
elem = (PyXmlSec_LxmlElementPtr*)PyXmlSec_elementFactory(doc, n);
208208
if (NULL == elem)
209209
xmlFreeNode(n);
210210
else

0 commit comments

Comments
 (0)