A couple more unsigned char changes to silence compiler warnings
authorWayne Davison <wayned@samba.org>
Wed, 28 Jan 2004 00:04:57 +0000 (00:04 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 28 Jan 2004 00:04:57 +0000 (00:04 +0000)
on signed-char systems (like Solaris).

popt/poptconfig.c

index 446e6e9..5023566 100644 (file)
@@ -92,9 +92,9 @@ static void configLine(poptContext con, unsigned char * line)
 
 int poptReadConfigFile(poptContext con, const char * fn)
 {
-    const char * file, * chptr, * end;
-    char * buf;
-/*@dependent@*/ char * dst;
+    const unsigned char * file, * chptr, * end;
+    unsigned char * buf;
+/*@dependent@*/ unsigned char * dst;
     int fd, rc;
     off_t fileLength;