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:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-22 16:41:38 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-22 16:41:38 +0400
commit1206faeb99ab6c09baeb39ce0ed89539621ccebe (patch)
tree9f70ec1f6ef045cfc322c48c0382efa7330829e1 /intern/utfconv
parent877706b8ebbecbbef159c1e04e69219d9fbd72ee (diff)
Warning cleanup:
* Comparison in utf detection code always failed * Cast to integer to silence grumpy 64bit gcc
Diffstat (limited to 'intern/utfconv')
-rw-r--r--intern/utfconv/utfconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/utfconv/utfconv.c b/intern/utfconv/utfconv.c
index 7f7a612528d..e5f8756917f 100644
--- a/intern/utfconv/utfconv.c
+++ b/intern/utfconv/utfconv.c
@@ -170,7 +170,7 @@ int conv_utf_8_to_16(const char *in8, wchar_t *out16, size_t size16)
{
char u;
char type = 0;
- wchar_t u32 = 0;
+ unsigned int u32 = 0;
wchar_t *out16end = out16 + size16;
int err = 0;
if (!size16 || !in8 || !out16) return UTF_ERROR_NULL_IN;