From 5a3822e0f56693c3b3da874f80af0485f23fd8d5 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Sep 2020 16:37:06 -0700 Subject: [PATCH] squash -Wfloat-conversion warning in glprintfglut --- lib/glcomp/glcompfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/glcomp/glcompfont.c b/lib/glcomp/glcompfont.c index f21014b89..2ef74c3ad 100644 --- a/lib/glcomp/glcompfont.c +++ b/lib/glcomp/glcompfont.c @@ -86,7 +86,7 @@ void restore_gl_vars(glCompFont * f) void glprintfglut(void *font, GLfloat xpos, GLfloat ypos, GLfloat zpos, char *bf) { - glRasterPos3f(xpos, ypos, zpos + 0.001); + glRasterPos3f(xpos, ypos, zpos + 0.001f); print_bitmap_string(font, bf); -- 2.40.0