shithub: freetype+ttf2subf

Download patch

ref: 7aa20102160d9b95f87915fb2091e4a2ddb41890
parent: 8e438ead7103b6d017aaaac7d4ab29272094de2d
author: David Turner <[email protected]>
date: Fri Apr 21 04:38:35 EDT 2006

* src/sfnt/ttcmap.c: removed compiler warnings (gcc-4.0.2)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
   * include/freetype/ftincrem.h, include/freetype/ftmodapi.h,
   include/freetype/freetype.h: Documentation update
 
+  * src/sfnt/ttcmap.c: removed compiler warnings (gcc-4.0.2)
+
 2006-04-13  David Turner  <[email protected]>
 
   * src/autofit/afloader.c: removing superfluous code in the auto-fitter's
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -2276,7 +2276,7 @@
         FT_Byte*                       cmap   = table + offset;
         volatile FT_UInt               format = TT_PEEK_USHORT( cmap );
         const TT_CMap_Class* volatile  pclazz = tt_cmap_classes;
-        TT_CMap_Class                  clazz;
+        TT_CMap_Class volatile         clazz;
 
 
         for ( ; *pclazz; pclazz++ )