1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

- 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
This commit is contained in:
Daniel Veillard
2001-06-28 12:54:16 +00:00
parent 0e4cd17b61
commit 87ee914013
5 changed files with 11 additions and 6 deletions

View File

@ -2726,13 +2726,13 @@ xmlXPtrStringRangeFunction(xmlXPathParserContextPtr ctxt, int nargs) {
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);