1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

added (void *) type override to prevent warning on Solaris (Bug 132671)

* xpath.c: added (void *) type override to prevent
  warning on Solaris (Bug 132671)
This commit is contained in:
William M. Brack
2004-01-30 07:52:48 +00:00
parent 4f8b8d9d45
commit c07ed5e6a1
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
Thu Jan 29 23:51:48 PST 2004 William Brack <wbrack@mmm.com.hk>
* xpath.c: added (void *) type override to prevent
warning on Solaris (Bug 132671)
Wed Jan 28 07:20:37 MST 2004 John Fleck <jfleck@inkstain.net>
* doc/examples/Makefile.am

View File

@@ -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;