]> granicus.if.org Git - libexpat/commitdiff
Get rid of some compile time warnings
authorJames Clark <jjc@jclark.com>
Tue, 23 Jun 1998 04:54:38 +0000 (04:54 +0000)
committerJames Clark <jjc@jclark.com>
Tue, 23 Jun 1998 04:54:38 +0000 (04:54 +0000)
expat/xmltok/xmltok.c

index 3ecb8cf6d1b47011bc806908373581ae455c93d2..288c6611e9f64b805e061b7a027d01bb7b87c481 100755 (executable)
@@ -965,7 +965,7 @@ struct unknown_encoding {
   int (*convert)(void *userData, const char *p);
   void *userData;
   unsigned short utf16[256];
-  unsigned char utf8[256][4];
+  char utf8[256][4];
 };
 
 int XmlSizeOfUnknownEncoding()
@@ -1008,7 +1008,7 @@ void unknown_toUtf8(const ENCODING *enc,
 {
   char buf[XML_UTF8_ENCODE_MAX];
   for (;;) {
-    const unsigned char *utf8;
+    const char *utf8;
     int n;
     if (*fromP == fromLim)
       break;