Commit: b5b0fc9c947ca11126119c8a6e30b4a76c7daad7
Author: Sergey Sharybin
Date:   Thu Apr 20 10:46:24 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBb5b0fc9c947ca11126119c8a6e30b4a76c7daad7

Cleanup: Use explicit unsigned int type

This is as per our code style states ans as majority of the team
prefers types to be used.

===================================================================

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 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)

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to