From 02de1bff1e78d0e67ac083ebad58cec6ce956403 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 13 Apr 2022 14:22:58 +1000 Subject: Cleanup: warning for 'float' to 'int' with MSVC --- source/blender/blenfont/intern/blf_font.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/blenfont/intern') diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index 16d4c46589d..51b65dab8fc 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -1210,10 +1210,10 @@ static void blf_font_fill(FontBLF *font) font->color[2] = 0; font->color[3] = 255; - font->clip_rec.xmin = 0.0f; - font->clip_rec.xmax = 0.0f; - font->clip_rec.ymin = 0.0f; - font->clip_rec.ymax = 0.0f; + font->clip_rec.xmin = 0; + font->clip_rec.xmax = 0; + font->clip_rec.ymin = 0; + font->clip_rec.ymax = 0; font->flags = 0; font->dpi = 0; font->size = 0; -- cgit v1.2.3