shithub: freetype+ttf2subf

Download patch

ref: 481324cd36af2f7dbb2281eae85dce34f5eca240
parent: ce41259372f73c7e77a7970f8a0465873742498d
author: Werner Lemberg <[email protected]>
date: Tue Dec 15 03:58:37 EST 2009

Fix compiler warnings.
Reported by Sean.

* src/truetype/ttgxvar.c (ft_var_readpackeddeltas): Fix counter data
type.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-12-15  Werner Lemberg  <[email protected]>
+
+	Fix compiler warnings.
+	Reported by Sean.
+
+	* src/truetype/ttgxvar.c (ft_var_readpackeddeltas): Fix counter data
+	type.
+
 2009-12-14  Ken Sharp  <[email protected]>
 
 	Ignore invalid `setcurrentpoint' operations in Type 1 fonts.
--- 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;