]> granicus.if.org Git - graphviz/commitdiff
squash a -Wsign-compare and a -Wconversion compiler warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 29 Mar 2021 04:01:37 +0000 (21:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Apr 2021 16:48:10 +0000 (09:48 -0700)
lib/twopigen/circle.c

index 375fd5c2de8b2a944f548cf0419c28d0a8048561..e9b819d1bab35b7bfb52b60a38f4df840c316aa7 100644 (file)
@@ -90,7 +90,7 @@ static Agnode_t *findCenterNode(Agraph_t * g)
 {
     Agnode_t *n;
     Agnode_t *center = NULL;
-    int maxNStepsToLeaf = 0;
+    uint64_t maxNStepsToLeaf = 0;
 
     /* With just 1 or 2 nodes, return anything. */
     if (agnnodes(g) <= 2)