diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 14:13:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 14:14:54 +0400 |
commit | 153ae2dc7c5f6a1cdc0b5df9478d5b1233bd4554 (patch) | |
tree | 321f9d22e1a04dcb19a905249feb207f012e8bd9 | |
parent | de1660d8bbc7d9147864c0160501c3b41864b7c0 (diff) |
fix for regression with own recent commit
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 3900ee014dc..a753975ef7c 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -100,7 +100,7 @@ int BLI_stringdec(const char *string, char *head, char *tail, unsigned short *nu while (name_end > lslash_len && string[--name_end] != '.') {} /* name ends at dot if present */ if (name_end == lslash_len && string[name_end] != '.') name_end = string_len; - for (i = name_end - 1; i >= lslash_len; i--) { + for (i = name_end - 1; i >= (int)lslash_len; i--) { if (isdigit(string[i])) { if (found_digit) { nums = i; |