Commit cf8d9b4ce3fa2c6cd9ccb25585bc17a355c987b0

Werner Lemberg 2017-07-05T23:07:01

* src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning.

diff --git a/ChangeLog b/ChangeLog
index f290bd5..767309f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-07-05  Werner Lemberg  <wl@gnu.org>
 
+	* src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning.
+
+2017-07-05  Werner Lemberg  <wl@gnu.org>
+
 	* src/truetype/ttgxvar.c (FT_Stream_SeekSet): Fix warning (#51395).
 
 2017-07-04  Werner Lemberg  <wl@gnu.org>
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index ec583d1..ef03e04 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -3719,7 +3719,7 @@
       (FT_CMap_CharVariantListFunc) NULL,  /* charvariant_list */
       (FT_CMap_VariantCharListFunc) NULL,  /* variantchar_list */
 
-    -1,
+    ~0U,
     (TT_CMap_ValidateFunc)NULL,  /* validate      */
     (TT_CMap_Info_GetFunc)NULL   /* get_cmap_info */
   )