Commit 481324cd36af2f7dbb2281eae85dce34f5eca240

Werner Lemberg 2009-12-15T08:58:37

Fix compiler warnings. Reported by Sean. * src/truetype/ttgxvar.c (ft_var_readpackeddeltas): Fix counter data type.

diff --git a/ChangeLog b/ChangeLog
index b8b209f..403d2c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-12-15  Werner Lemberg  <wl@gnu.org>
+
+	Fix compiler warnings.
+	Reported by Sean.
+
+	* src/truetype/ttgxvar.c (ft_var_readpackeddeltas): Fix counter data
+	type.
+
 2009-12-14  Ken Sharp  <ken.sharp@artifex.com>
 
 	Ignore invalid `setcurrentpoint' operations in Type 1 fonts.
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 7aee181..cea00cc 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -216,7 +216,7 @@
     FT_Short  *deltas;
     FT_UInt    runcnt;
     FT_Offset  i;
-    FT_Offset  j;
+    FT_UInt    j;
     FT_Memory  memory = stream->memory;
     FT_Error   error = TT_Err_Ok;