Add cast to fix warning. Add include of <libxml/parser.h>.
* encoding.c: (xmlIconvWrapper): Add cast to fix warning.
* testCatalog.c: Add include of <libxml/parser.h>.
diff --git a/ChangeLog b/ChangeLog
index 1db7a04..db9e1db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2001-07-27 Darin Adler <darin@bentspoon.com>
+ * encoding.c: (xmlIconvWrapper): Add cast to fix warning.
+ * testCatalog.c: Add include of <libxml/parser.h>.
+
+2001-07-27 Darin Adler <darin@bentspoon.com>
+
* include/libxml/.cvsignore:
* include/libxml/xmlwin32version.h:
Remove this file from CVS because it's generated.
diff --git a/encoding.c b/encoding.c
index f7c020c..2a76791 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1899,7 +1899,7 @@
char *icv_out = (char *) out;
int ret;
- ret = iconv(cd, &icv_in, &icv_inlen, &icv_out, &icv_outlen);
+ ret = iconv(cd, (char **) &icv_in, &icv_inlen, &icv_out, &icv_outlen);
if (in != NULL) {
*inlen -= icv_inlen;
*outlen -= icv_outlen;
diff --git a/testCatalog.c b/testCatalog.c
index 0bc3ccf..d7bc4c7 100644
--- a/testCatalog.c
+++ b/testCatalog.c
@@ -15,6 +15,7 @@
#include <libxml/xmlmemory.h>
#include <libxml/uri.h>
#include <libxml/catalog.h>
+#include <libxml/parser.h>
int main(int argc, char **argv) {
#ifdef LIBXML_CATALOG_ENABLED