[Bf-blender-cvs] [153ae2d] master: fix for regression with own recent commit

Campbell Barton noreply at git.blender.org
Mon Nov 25 11:15:21 CET 2013


Commit: 153ae2dc7c5f6a1cdc0b5df9478d5b1233bd4554
Author: Campbell Barton
Date:   Mon Nov 25 21:13:58 2013 +1100
http://developer.blender.org/rB153ae2dc7c5f6a1cdc0b5df9478d5b1233bd4554

fix for regression with own recent commit

===================================================================

M	source/blender/blenlib/intern/path_util.c

===================================================================

diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index 3900ee0..a753975 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;




More information about the Bf-blender-cvs mailing list