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/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