From 18fde352bf51a5c365903f90ce78394234d4f7ec Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 27 Feb 2014 21:16:01 +0100 Subject: Fix compile error when compiling without python. --- source/blender/blenkernel/intern/text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index e1396c022cb..1d2caaa0640 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)); } -- cgit v1.2.3