[mapguide-commits] r1166 - trunk/MgDev/Common/MdfModel

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 7 11:26:50 EST 2007


Author: traianstanev
Date: 2007-03-07 11:26:50 -0500 (Wed, 07 Mar 2007)
New Revision: 1166

Modified:
   trunk/MgDev/Common/MdfModel/ConvertUTF.h
Log:
int is 32 bits. long is not. This is a 64 bit compatibility issue.

Modified: trunk/MgDev/Common/MdfModel/ConvertUTF.h
===================================================================
--- trunk/MgDev/Common/MdfModel/ConvertUTF.h	2007-03-07 14:06:01 UTC (rev 1165)
+++ trunk/MgDev/Common/MdfModel/ConvertUTF.h	2007-03-07 16:26:50 UTC (rev 1166)
@@ -90,7 +90,7 @@
 #ifndef CONVERT_UTF_H_
 #define CONVERT_UTF_H_
 
-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 */



More information about the mapguide-commits mailing list