Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/blenfont/intern/blf_font.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index 4d7c180a488..3ba75517581 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -174,10 +174,10 @@ static void blf_font_ensure_ascii_table(FontBLF *font)
} \
} (void)0
-static unsigned verts_needed(const FontBLF *font, const char *str, size_t len)
+static unsigned int verts_needed(const FontBLF *font, const char *str, size_t len)
{
- unsigned length = (unsigned)((len == INT_MAX) ? strlen(str) : len);
- unsigned quad_ct = 1;
+ unsigned int length = (unsigned int)((len == INT_MAX) ? strlen(str) : len);
+ unsigned int quad_ct = 1;
if (font->flags & BLF_SHADOW) {
if (font->shadow == 0)