diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-27 23:40:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-27 23:40:23 +0400 |
commit | 25e82fe62d3f6e18d0121146dc4cd91397281372 (patch) | |
tree | 001850c35bb21b7f178462a4d49072b04be83614 /source | |
parent | 4c389127c18c69f635203b22e239fc3c5619cdf9 (diff) |
BLI_strlen_utf8 was doing size_t / int conversion unnecessarily.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/string_utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/string_utf8.c b/source/blender/blenlib/intern/string_utf8.c index 0b8cc126a86..0bb471ddb63 100644 --- a/source/blender/blenlib/intern/string_utf8.c +++ b/source/blender/blenlib/intern/string_utf8.c @@ -263,7 +263,7 @@ static size_t strlen_utf8_char(const char *strc) size_t BLI_strlen_utf8(const char *strc) { - int len; + size_t len; for (len = 0; *strc; len++) strc += strlen_utf8_char(strc); |