aboutsummaryrefslogtreecommitdiffstats
path: root/include/libxml/xpathInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/xpathInternals.h')
-rw-r--r--include/libxml/xpathInternals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libxml/xpathInternals.h b/include/libxml/xpathInternals.h
index 70c9db96..76a6b481 100644
--- a/include/libxml/xpathInternals.h
+++ b/include/libxml/xpathInternals.h
@@ -229,7 +229,7 @@ XMLPUBFUN void * XMLCALL
* Empties a node-set.
*/
#define xmlXPathEmptyNodeSet(ns) \
- { while ((ns)->nodeNr > 0) (ns)->nodeTab[(ns)->nodeNr--] = NULL; }
+ { while ((ns)->nodeNr > 0) (ns)->nodeTab[--(ns)->nodeNr] = NULL; }
/**
* CHECK_ERROR: