- xpointer.c include/win32config.h win32/libxml2/libxml2.def.src
  libxml.h : Yon Derek provided a set of changes to compile from
  CVS on Windows/MSC
Daniel
diff --git a/xpointer.c b/xpointer.c
index caf39bb..c4d9720 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -2726,13 +2726,13 @@
 	CHECK_TYPE(XPATH_NUMBER);
 	number = valuePop(ctxt);
 	if (number != NULL)
-	    num = number->floatval;
+	    num = (int) number->floatval;
     }
     if (nargs >= 3) {
 	CHECK_TYPE(XPATH_NUMBER);
 	position = valuePop(ctxt);
 	if (position != NULL)
-	    pos = position->floatval;
+	    pos = (int) position->floatval;
     }
     CHECK_TYPE(XPATH_STRING);
     string = valuePop(ctxt);