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:
@ -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);
|
||||
|
Reference in New Issue
Block a user