From 9b0ea0c6d1931f7a9be87ef879b8a2969920755b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 27 Nov 2021 10:16:21 -0800 Subject: [PATCH] neato_layout: [nfc] squash a -Wsign-conversion warning `Pack` is known non-negative in this branch. --- lib/neatogen/neatoinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index a7168df23..bf1f28da3 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -1468,7 +1468,7 @@ void neato_layout(Agraph_t * g) bp[0] = TRUE; } else bp = 0; - pinfo.margin = Pack; + pinfo.margin = (unsigned)Pack; pinfo.fixed = bp; pinfo.doSplines = 1; packGraphs(n_cc, cc, g, &pinfo); -- 2.40.0