diff --git a/ChangeLog b/ChangeLog index 0430baef..f48fd5a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 29 23:51:48 PST 2004 William Brack + + * xpath.c: added (void *) type override to prevent + warning on Solaris (Bug 132671) + Wed Jan 28 07:20:37 MST 2004 John Fleck * doc/examples/Makefile.am diff --git a/xpath.c b/xpath.c index 6d6e3366..c42e0092 100644 --- a/xpath.c +++ b/xpath.c @@ -563,13 +563,13 @@ xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2, (op == XPATH_OP_COLLECT))) { if (value4 != NULL) { comp->steps[comp->nbStep].value4 = - xmlDictLookup(comp->dict, value4, -1); + (void *)xmlDictLookup(comp->dict, value4, -1); xmlFree(value4); } else comp->steps[comp->nbStep].value4 = NULL; if (value5 != NULL) { comp->steps[comp->nbStep].value5 = - xmlDictLookup(comp->dict, value5, -1); + (void *)xmlDictLookup(comp->dict, value5, -1); xmlFree(value5); } else comp->steps[comp->nbStep].value5 = NULL;