Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-02-28 00:16:01 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-02-28 00:16:01 +0400
commit18fde352bf51a5c365903f90ce78394234d4f7ec (patch)
tree7490550b934b0e1599d65fab1f78abc95ede6ab7
parent4d1159627cf1536b36389b0db23bf3d1d8ce206f (diff)
Fix compile error when compiling without python.
-rw-r--r--source/blender/blenkernel/intern/text.c6
1 files 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));
}