From 2420a3c189951dbe910bd65e3b2c58082bfb4b1b Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 4 Dec 2014 10:23:21 +0100 Subject: Fix T42797: -Werror=sign-conversion Triggered in blf_glyph.c Very minor, but since it was reported... --- source/blender/blenfont/intern/blf_glyph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 7978d28a4ef..c65a0825a49 100644 --- a/source/blender/blenfont/intern/blf_glyph.c +++ b/source/blender/blenfont/intern/blf_glyph.c @@ -262,8 +262,8 @@ GlyphBLF *blf_glyph_add(FontBLF *font, unsigned int index, unsigned int c) g->xoff = -1; g->yoff = -1; bitmap = slot->bitmap; - g->width = bitmap.width; - g->height = bitmap.rows; + g->width = (int)bitmap.width; + g->height = (int)bitmap.rows; if (g->width && g->height) { if (sharp) { -- cgit v1.2.3