1 2 3 4 5 6 7 8 9 10 11 12 13
--- source/blender/blenfont/intern/blf_glyph.c +++ source/blender/blenfont/intern/blf_glyph.c @@ -262,8 +262,8 @@ 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) {