From 1d97a4b4fd90be5b9cd8aebcd582c9b9e48deb27 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 29 Aug 2020 18:11:36 +0200 Subject: [PATCH] Remove 1 -Wconversion warnings in cccomps --- lib/pack/ccomps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pack/ccomps.c b/lib/pack/ccomps.c index d3ae0bb4e..ce88da109 100644 --- a/lib/pack/ccomps.c +++ b/lib/pack/ccomps.c @@ -672,7 +672,7 @@ Agraph_t **cccomps(Agraph_t * g, int *ncc, char *pfx) ccs = RALLOC(c_cnt, ccs, Agraph_t *); if (name != buffer) free(name); - *ncc = c_cnt; + *ncc = (int) c_cnt; return ccs; } -- 2.40.0