From: Erwin Janssen Date: Thu, 1 Sep 2016 17:26:25 +0000 (+0200) Subject: Resolved one -Wsign-conversion in cvt.c X-Git-Tag: untagged-897b348e31e4e52e8698~1^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48996497537c4790d8dea7f46ddfc08a1fe1ad07;p=graphviz Resolved one -Wsign-conversion in cvt.c There are multiple -Wsign-conversion warnings, but only one could be resolved without analysing or changing more than a few lines of code. --- diff --git a/lib/pathplan/cvt.c b/lib/pathplan/cvt.c index b5516ab2a..f5115d33d 100644 --- a/lib/pathplan/cvt.c +++ b/lib/pathplan/cvt.c @@ -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;