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

github.com/windirstat/simpleini.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrodie Thiesfield <brofield@gmail.com>2009-09-10 10:47:13 +0400
committerBrodie Thiesfield <brofield@gmail.com>2009-09-10 10:47:13 +0400
commit720823c939463c83e0ef27e724f8feb9795d9218 (patch)
treeb344ead1fe9c8215311fca41cb114a639cd4f8f4
parent952daab99c9272871e267242a89415aeb905b2f8 (diff)
ensure that UTF32 is 32-bits on a 64-bit platform. It should still be 32 on a 32-bit platform even with this change.
-rw-r--r--ConvertUTF.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConvertUTF.h b/ConvertUTF.h
index e264915..14d7b70 100644
--- a/ConvertUTF.h
+++ b/ConvertUTF.h
@@ -87,7 +87,7 @@
bit mask & shift operations.
------------------------------------------------------------------------ */
-typedef unsigned long UTF32; /* at least 32 bits */
+typedef unsigned int UTF32; /* at least 32 bits */
typedef unsigned short UTF16; /* at least 16 bits */
typedef unsigned char UTF8; /* typically 8 bits */
typedef unsigned char Boolean; /* 0 or 1 */