diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-28 00:16:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-28 00:16:01 +0400 |
commit | 18fde352bf51a5c365903f90ce78394234d4f7ec (patch) | |
tree | 7490550b934b0e1599d65fab1f78abc95ede6ab7 /source/blender/blenkernel/intern/text.c | |
parent | 4d1159627cf1536b36389b0db23bf3d1d8ce206f (diff) |
Fix compile error when compiling without python.
Diffstat (limited to 'source/blender/blenkernel/intern/text.c')
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 6 |
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)); } |