From: Matthew Fernandez Date: Wed, 7 Sep 2022 04:17:55 +0000 (-0700) Subject: smyrna renderSelectedNodes: squash -Wfloat-conversion in call to 'glprintfglut' X-Git-Tag: 6.0.1~4^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb4cb38c0148a60db874c3726bfa41bd5b1d37d9;p=graphviz smyrna renderSelectedNodes: squash -Wfloat-conversion in call to 'glprintfglut' --- diff --git a/cmd/smyrna/topviewfuncs.c b/cmd/smyrna/topviewfuncs.c index 4731d6ed9..f7387d426 100644 --- a/cmd/smyrna/topviewfuncs.c +++ b/cmd/smyrna/topviewfuncs.c @@ -293,7 +293,7 @@ static void renderSelectedNodes(Agraph_t * g) { pos = ND_A(v); glColor4f(c.R, c.G,c.B, c.A); - glprintfglut(view->glutfont,pos.x,pos.y,pos.z+0.002,labelOf(g,v)); + glprintfglut(view->glutfont, pos.x, pos.y, pos.z + 0.002f, labelOf(g, v)); } } }