]> granicus.if.org Git - graphviz/commitdiff
Fix warning messages
authorerg <devnull@localhost>
Thu, 28 Apr 2005 22:34:05 +0000 (22:34 +0000)
committererg <devnull@localhost>
Thu, 28 Apr 2005 22:34:05 +0000 (22:34 +0000)
lib/common/utils.c

index 167e4d8a2b0e9eb4fc9ea368e071db486d65d204..21a54512041579a12fae26c5533ad021b590c88f 100644 (file)
@@ -1768,8 +1768,8 @@ latin1ToUTF8 (char* s)
 {
     char*  ns;
     agxbuf xb;
-    char   buf[BUFSIZ];
-    unsigned int v;
+    unsigned char buf[BUFSIZ];
+    unsigned int  v;
     
     agxbinit(&xb, BUFSIZ, buf);
 
@@ -1807,7 +1807,7 @@ utf8ToLatin1 (char* s)
 {
     char*  ns;
     agxbuf xb;
-    char   buf[BUFSIZ];
+    unsigned char buf[BUFSIZ];
     unsigned char c;
     unsigned char outc;