diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-13 07:22:58 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-13 07:22:58 +0300 |
commit | 02de1bff1e78d0e67ac083ebad58cec6ce956403 (patch) | |
tree | 65c7fdce5a9b7445788d49f537fbe39bf202ebd6 /source/blender/blenfont | |
parent | 7d3db7a3ae9f3b3039e81138e3d399f1d4f9717f (diff) |
Cleanup: warning for 'float' to 'int' with MSVC
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf_font.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |