]> granicus.if.org Git - graphviz/commitdiff
Resolved one -Wsign-conversion in cvt.c
authorErwin Janssen <erwinjanssen@outlook.com>
Thu, 1 Sep 2016 17:26:25 +0000 (19:26 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 1 Sep 2016 17:26:25 +0000 (19:26 +0200)
There are multiple -Wsign-conversion warnings, but only one could be resolved without analysing or changing more than a few lines of code.

lib/pathplan/cvt.c

index b5516ab2a76c8bfad966d0f9aecc752bac3b06e5..f5115d33d8541989e0876a11fca0e3ef79a5813b 100644 (file)
@@ -118,7 +118,7 @@ int Pobspath(vconfig_t * config, Ppoint_t p0, int poly0, Ppoint_t p1,
             int poly1, Ppolyline_t * output_route)
 {
     int i, j, *dad;
-    int opn;
+    size_t opn;
     Ppoint_t *ops;
     COORD *ptvis0, *ptvis1;