From a00b6d1271dfdcec7bad62bfd1e8d6e66fb6a49e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Oct 2014 00:23:06 +0200 Subject: Cleanup: (float)floor -> floorf --- source/blender/blenfont/intern/blf_glyph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenfont/intern/blf_glyph.c') diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c index a2462f3e302..7978d28a4ef 100644 --- a/source/blender/blenfont/intern/blf_glyph.c +++ b/source/blender/blenfont/intern/blf_glyph.c @@ -379,7 +379,7 @@ static void blf_texture3_draw(const float shadow_col[4], float uv[2][2], float x static void blf_glyph_calc_rect(rctf *rect, GlyphBLF *g, float x, float y) { - rect->xmin = (float)floor(x + g->pos_x); + rect->xmin = floorf(x + g->pos_x); rect->xmax = rect->xmin + (float)g->width; rect->ymin = y + g->pos_y; rect->ymax = y + g->pos_y - (float)g->height; -- cgit v1.2.3