diff options
author | Brodie Thiesfield <brofield@gmail.com> | 2009-09-10 10:47:13 +0400 |
---|---|---|
committer | Brodie Thiesfield <brofield@gmail.com> | 2009-09-10 10:47:13 +0400 |
commit | 720823c939463c83e0ef27e724f8feb9795d9218 (patch) | |
tree | b344ead1fe9c8215311fca41cb114a639cd4f8f4 | |
parent | 952daab99c9272871e267242a89415aeb905b2f8 (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.h | 2 |
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 */ |