[Bf-blender-cvs] [02de1bff1e7] master: Cleanup: warning for 'float' to 'int' with MSVC
Campbell Barton
noreply at git.blender.org
Wed Apr 13 06:23:48 CEST 2022
Commit: 02de1bff1e78d0e67ac083ebad58cec6ce956403
Author: Campbell Barton
Date: Wed Apr 13 14:22:58 2022 +1000
Branches: master
https://developer.blender.org/rB02de1bff1e78d0e67ac083ebad58cec6ce956403
Cleanup: warning for 'float' to 'int' with MSVC
===================================================================
M source/blender/blenfont/intern/blf_font.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list