fix for regression with own recent commit

This commit is contained in:
Campbell Barton 2013-11-25 21:13:58 +11:00
parent de1660d8bb
commit 153ae2dc7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;