From 720823c939463c83e0ef27e724f8feb9795d9218 Mon Sep 17 00:00:00 2001 From: Brodie Thiesfield Date: Thu, 10 Sep 2009 06:47:13 +0000 Subject: 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. --- ConvertUTF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3