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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-08-30 15:14:18 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-30 15:14:18 +0300
commitdf8a7ec3a81394fef4a21a6f1c1e4a43d5d44fba (patch)
tree9a44a8ed10907a5344c651e5c2823b7b2c27d4ec /source/blender/blenlib
parentcdcd648547c62afb6f0112bf1f2ccf986faff363 (diff)
Fix fox strict flags: Avoid sign cast of strlen() result
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index f46676ac0cd..938728aa4bb 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -783,7 +783,7 @@ void BLI_str_toupper_ascii(char *str, const size_t len)
*/
void BLI_str_rstrip(char *str)
{
- for (int i = strlen(str) - 1; i > 0; i--) {
+ for (int i = (int)strlen(str) - 1; i > 0; i--) {
if (isspace(str[i])) {
str[i] = '\0';
}