From: Matthew Fernandez Date: Sat, 14 Jan 2023 04:57:00 +0000 (-0800) Subject: smyrna glcreate_gl_topview_menu: squash -Wfloat-conversion warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f11bde338da63627d109f57d66f83f6ead4c5ce5;p=graphviz smyrna glcreate_gl_topview_menu: squash -Wfloat-conversion warning --- diff --git a/cmd/smyrna/gui/glcompui.c b/cmd/smyrna/gui/glcompui.c index 4c1654d07..6f8fd0595 100644 --- a/cmd/smyrna/gui/glcompui.c +++ b/cmd/smyrna/gui/glcompui.c @@ -337,7 +337,7 @@ glCompSet *glcreate_gl_topview_menu(void) p->common.color.R = 0; p->common.color.G = 0; p->common.color.B = 1; - p->common.color.A = 0.2; + p->common.color.A = 0.2f; p->common.visible = 0; sel = p; s->common.callbacks.mouseover = glCompMouseMove;