+Thu Jul 31 20:33:12 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+ Fixing bug 118558 (Solaris 8 compiler warnings)
+ * xslt.c: minor re-ordering of code
+ * functions.c: added an explicit cast
+ * number.c: added include for string.h
+ * security.c: added an explicit cast
+
Tue Jul 29 12:43:17 HKT 2003 William Brack <wbrack@mmm.com.hk>
* libexslt/date.c test/exslt/data/seconds.1 : changed sign
/*
* check for and remove fragment identifier
*/
- fragment = uri->fragment;
+ fragment = (xmlChar *)uri->fragment;
if (fragment != NULL) {
uri->fragment = NULL;
URI = xmlSaveUri(uri);
#include <math.h>
#include <limits.h>
#include <float.h>
+#include <string.h>
#include <libxml/xmlmemory.h>
#include <libxml/parserInternals.h>
"xsltCheckWrite: out of memory for %s\n", URL);
return(-1);
}
- uri->path = xmlStrdup(URL);
+ uri->path = (char *)xmlStrdup(URL);
}
if ((uri->scheme == NULL) ||
(xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) {
if ((IS_XSLT_ELEM(cur)) && (IS_XSLT_NAME(cur, "param"))) {
xmlNodePtr param = cur;
- cur = cur->next;
xsltTransformError(NULL, style, cur,
"xsltParseTemplateContent: ignoring misplaced param element\n");
if (style != NULL) style->warnings++;
+ cur = cur->next;
xmlUnlinkNode(param);
xmlFreeNode(param);
- continue;
} else
break;
- cur = cur->next;
}
}