fixed Bug130593 fixed compilation warning

* configure.in: fixed Bug130593
* xmlwriter.c: fixed compilation warning
diff --git a/ChangeLog b/ChangeLog
index 9708104..1280f73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan  6 23:18:11 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+	* configure.in: fixed Bug130593
+	* xmlwriter.c: fixed compilation warning
+
 Tue Jan  6 15:15:23 CET 2004 Daniel Veillard <daniel@veillard.com>
 
 	* include/libxml/xmlstring.h: fixed the comment in the header
diff --git a/configure.in b/configure.in
index a3d1f57..38eada7 100644
--- a/configure.in
+++ b/configure.in
@@ -372,7 +372,7 @@
 		    echo could not find python$PYTHON_VERSION/Python.h
 		fi
 	    fi
-	    if ! test -d "$PYTHON_SITE_PACKAGES"
+	    if test ! -d "$PYTHON_SITE_PACKAGES"
 	    then
 		    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
 	    fi
diff --git a/xmlwriter.c b/xmlwriter.c
index da3ac3d..5a31125 100644
--- a/xmlwriter.c
+++ b/xmlwriter.c
@@ -4050,11 +4050,12 @@
 {
   int lksize;
   int i;
-  int ret;
+  int ret = -1;		/* just in case of an empty list */
   
   lksize = xmlListSize (writer->nodes);
   for (i = 0; i < (lksize-1); i++) {
-    ret = xmlOutputBufferWriteString (writer->out, writer->ichar);
+    ret = xmlOutputBufferWriteString (writer->out, 
+            (const char *)writer->ichar);
     if (ret == -1)
       break;
   }