[Bf-blender-cvs] [18fde35] master: Fix compile error when compiling without python.

Brecht Van Lommel noreply at git.blender.org
Thu Feb 27 21:18:23 CET 2014


Commit: 18fde352bf51a5c365903f90ce78394234d4f7ec
Author: Brecht Van Lommel
Date:   Thu Feb 27 21:16:01 2014 +0100
https://developer.blender.org/rB18fde352bf51a5c365903f90ce78394234d4f7ec

Fix compile error when compiling without python.

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

M	source/blender/blenkernel/intern/text.c

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

diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c
index e1396c0..1d2caaa 100644
--- a/source/blender/blenkernel/intern/text.c
+++ b/source/blender/blenkernel/intern/text.c
@@ -3051,12 +3051,12 @@ bool text_check_identifier_nodigit(const char ch)
 }
 
 #ifndef WITH_PYTHON
-bool text_check_identifier_unicode(const unsigned int ch)
+int text_check_identifier_unicode(const unsigned int ch)
 {
-	return (ch < 255 && text_check_identifier((char)ch));
+	return (ch < 255 && text_check_identifier((unsigned int)ch));
 }
 
-bool text_check_identifier_nodigit_unicode(const unsigned int ch)
+int text_check_identifier_nodigit_unicode(const unsigned int ch)
 {
 	return (ch < 255 && text_check_identifier_nodigit((char)ch));
 }




More information about the Bf-blender-cvs mailing list