From: Matthew Fernandez Date: Sun, 18 Apr 2021 04:56:43 +0000 (-0700) Subject: squash two -Wfloat-conversion warnings X-Git-Tag: 2.47.2~45^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59830cabaed0dbfd83c155a9ff780b94f398ef0a;p=graphviz squash two -Wfloat-conversion warnings --- diff --git a/lib/neatogen/adjust.c b/lib/neatogen/adjust.c index d94bf6e3c..2d0f31a3f 100644 --- a/lib/neatogen/adjust.c +++ b/lib/neatogen/adjust.c @@ -1238,8 +1238,8 @@ parseFactor (char* s, expand_t* pp, float sepfact, float dflt) } } else { - pp->x = 1.0 + x/sepfact; - pp->y = 1.0 + y/sepfact; + pp->x = 1.0f + x/sepfact; + pp->y = 1.0f + y/sepfact; } return 1; }