Commit 06ba45978db11a51c0ea1c6a8a440c1fda2d1d9b

bram tassyns 2009-10-26T22:26:31

Fix Savannah bug #27811. * src/truetype/ttxgvar.c (ft_var_readpackeddeltas): Fix signed/unsigned mismatch.

diff --git a/ChangeLog b/ChangeLog
index 023897e..345eb1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-10-26  Bram Tassyns  <bramt@enfocus.be>
+
+	Fix Savannah bug #27811.
+
+	* src/truetype/ttxgvar.c (ft_var_readpackeddeltas): Fix
+	signed/unsigned mismatch.
+
 2009-10-19  Ning Dong  <flintning@163.com>
 
 	Fix handling of `get' and `put' CFF instructions.
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 1456a8c..7aee181 100644
--- 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;