shithub: freetype+ttf2subf

Download patch

ref: adfec0af9436479bf63086edb9041aa458d18845
parent: d1876e5832300b09529fbfe4cefbbab92e9e15a3
author: Werner Lemberg <[email protected]>
date: Tue Jul 5 03:38:52 EDT 2016

* src/pfr/pfrsbit.c (pfr_lookup_bitmap_data): Fix compiler warning.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-05  Werner Lemberg  <[email protected]>
+
+	* src/pfr/pfrsbit.c (pfr_lookup_bitmap_data): Fix compiler warning.
+
 2016-07-04  Alexei Podtelezhnikov  <[email protected]>
 
 	[smooth] Variable type revision (part 2).
--- a/src/pfr/pfrsbit.c
+++ b/src/pfr/pfrsbit.c
@@ -325,7 +325,7 @@
           else
             code = *p;
 
-          if ( code <= prev_code )
+          if ( (FT_Long)code <= prev_code )
           {
             FT_TRACE0(( "pfr_lookup_bitmap_data:"
                         " bitmap records are not sorted,\n"