shithub: freetype+ttf2subf

Download patch

ref: 06ba45978db11a51c0ea1c6a8a440c1fda2d1d9b
parent: 38449dceaf861cf1350df798773b412eea6f324c
author: bram tassyns <[email protected]>
date: Mon Oct 26 18:26:31 EDT 2009

Fix Savannah bug #27811.

* src/truetype/ttxgvar.c (ft_var_readpackeddeltas): Fix
signed/unsigned mismatch.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-10-26  Bram Tassyns  <[email protected]>
+
+	Fix Savannah bug #27811.
+
+	* src/truetype/ttxgvar.c (ft_var_readpackeddeltas): Fix
+	signed/unsigned mismatch.
+
 2009-10-19  Ning Dong  <[email protected]>
 
 	Fix handling of `get' and `put' CFF instructions.
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -214,7 +214,7 @@
                            FT_Offset  delta_cnt )
   {
     FT_Short  *deltas;
-    FT_Int     runcnt;
+    FT_UInt    runcnt;
     FT_Offset  i;
     FT_Offset  j;
     FT_Memory  memory = stream->memory;