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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-01-03 17:30:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-01-03 17:30:59 +0300
commitff0221f5d848c2eb1f7e0066c9a5ae2ba1a1b217 (patch)
tree5895067eb628aadaffdaf02ea451842de6867ff7 /source/blender/blenlib
parent65582e75e3eadfe8c9574219fd6a8cb547355526 (diff)
Fix implicit size_t to int conversion.
Seems like it was erroring on some buildbots...
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/string_utf8.c2
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 07437862c3e..0ab11810b48 100644
--- a/source/blender/blenlib/intern/string_utf8.c
+++ b/source/blender/blenlib/intern/string_utf8.c
@@ -93,7 +93,7 @@ int BLI_utf8_invalid_byte(const char *str, int length)
/* Note that since we always increase p (and decrease length) by one byte in main loop, we only add/subtract
* extra utf8 bytes in code below
* (ab number, aka number of bytes remaining in the utf8 sequence after the initial one). */
- ab = utf8_skip_data[c] - 1;
+ ab = (int)utf8_skip_data[c] - 1;
if (length <= ab) {
goto utf8_error;
}