diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-06-28 12:54:16 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-06-28 12:54:16 +0000 |
commit | 87ee914013402992fc6cdafc0bd4c9904e5a99e0 (patch) | |
tree | 9ebdadfb1e84411f71c9227c4014d0a5bd3d0120 /xpointer.c | |
parent | 0e4cd17b617ea3887da8e3f1985890e0666d2c18 (diff) | |
download | libxml2-87ee914013402992fc6cdafc0bd4c9904e5a99e0.tar.gz |
- 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
Diffstat (limited to 'xpointer.c')
-rw-r--r-- | xpointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |