From: Matthew Fernandez Date: Sun, 2 May 2021 03:14:37 +0000 (-0700) Subject: use a float literal to squash a -Wfloat-conversion warning X-Git-Tag: 2.47.2~7^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec420444c57dcce32186e23d97ba7b544c28f005;p=graphviz use a float literal to squash a -Wfloat-conversion warning --- diff --git a/lib/neatogen/quad_prog_vpsc.c b/lib/neatogen/quad_prog_vpsc.c index 9f7f6944b..fd2a7f022 100644 --- a/lib/neatogen/quad_prog_vpsc.c +++ b/lib/neatogen/quad_prog_vpsc.c @@ -390,7 +390,7 @@ void generateNonoverlapConstraints(CMajEnvVPSC * e, /* grow a bit in the x dimension, so that if overlap is resolved * horizontally then it won't be considered overlapping vertically */ - nsizeScale *= 1.0001; + nsizeScale *= 1.0001f; } for (i = 0; i < n; i++) { bb[i].LL.x =