Commit adfec0af9436479bf63086edb9041aa458d18845

Werner Lemberg 2016-07-05T07:38:52

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

diff --git a/ChangeLog b/ChangeLog
index 25014ef..85f3403 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-05  Werner Lemberg  <wl@gnu.org>
+
+	* src/pfr/pfrsbit.c (pfr_lookup_bitmap_data): Fix compiler warning.
+
 2016-07-04  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[smooth] Variable type revision (part 2).
diff --git a/src/pfr/pfrsbit.c b/src/pfr/pfrsbit.c
index 68da033..144f50c 100644
--- 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"