diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-03-19 18:35:12 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-03-19 18:35:12 +0000 |
commit | c62a147963b5839fc815267706eaec381f90ca16 (patch) | |
tree | 42e8587dd71f38c2a89d656783b67aa9b1bc4e1a /xpath.c | |
parent | 4b3a84ffcfc9791bbb04f443ef4198f563b4e80b (diff) | |
download | android_external_libxml2-c62a147963b5839fc815267706eaec381f90ca16.tar.gz android_external_libxml2-c62a147963b5839fc815267706eaec381f90ca16.tar.bz2 android_external_libxml2-c62a147963b5839fc815267706eaec381f90ca16.zip |
valgrind spotted another error that time when running on libxslt
* xpath.c: valgrind spotted another error that time when running
on libxslt regression tests
Daniel
Diffstat (limited to 'xpath.c')
-rw-r--r-- | xpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1578,7 +1578,7 @@ xmlXPathNodeSetAddNs(xmlNodeSetPtr cur, xmlNodePtr node, xmlNsPtr ns) { for (i = 0;i < cur->nodeNr;i++) { if ((cur->nodeTab[i] != NULL) && (cur->nodeTab[i]->type == XML_NAMESPACE_DECL) && - (cur->nodeTab[i]->next == node) && + (((xmlNsPtr)cur->nodeTab[i])->next == (xmlNsPtr) node) && (xmlStrEqual(ns->prefix, ((xmlNsPtr)cur->nodeTab[i])->prefix))) return; } |