workaround HP-UX compiler bug by Rick Jones Daniel

* xpath.c: workaround HP-UX compiler bug by Rick Jones
Daniel
diff --git a/ChangeLog b/ChangeLog
index 24f449c..0561624 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 27 20:42:04 CET 2006 Daniel Veillard <daniel@veillard.com>
+
+	* xpath.c: workaround HP-UX compiler bug by Rick Jones
+
 Mon Feb 27 10:57:05 CET 2006 Daniel Veillard <daniel@veillard.com>
 
 	* python/libxml2.py: remove a tab, as pointed out on IRC
diff --git a/xpath.c b/xpath.c
index f01b94d..8accfa6 100644
--- a/xpath.c
+++ b/xpath.c
@@ -11110,8 +11110,8 @@
     }
     depth = 0;
     goto scan_children;
-    do {
 next_node:
+    do {
         nb_nodes++;
 
 	switch (cur->type) {