]> granicus.if.org Git - graphviz/commitdiff
squash 3 -Wconversion warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 14 Apr 2021 03:37:29 +0000 (20:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 20 Apr 2021 14:49:55 +0000 (07:49 -0700)
plugin/core/gvrender_core_fig.c

index ae4ae40186310780dedd5c51edf973f54fe1a368..73d546983d81ef81fef3d1dcf8aa5103b8a6f2c5 100644 (file)
@@ -90,7 +90,8 @@ static char *fig_string(char *s)
     return buf;
 }
 
-static int figColorResolve(int *new, int r, int g, int b)
+static int figColorResolve(int *new, unsigned char r, unsigned char g,
+  unsigned char b)
 {
 #define maxColors 256
     static int top = 0;