added (void *) type override to prevent warning on Solaris (Bug 132671)
* xpath.c: added (void *) type override to prevent
warning on Solaris (Bug 132671)
diff --git a/ChangeLog b/ChangeLog
index 0430bae..f48fd5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/xpath.c b/xpath.c
index 6d6e336..c42e009 100644
--- a/xpath.c
+++ b/xpath.c
@@ -563,13 +563,13 @@
(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;