shithub: freetype+ttf2subf

Download patch

ref: cf8d9b4ce3fa2c6cd9ccb25585bc17a355c987b0
parent: 4261e497d85b4c99613d48cfe20a1cb3d2efcbdd
author: Werner Lemberg <[email protected]>
date: Wed Jul 5 19:07:01 EDT 2017

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-07-05  Werner Lemberg  <[email protected]>
 
+	* src/sfnt/ttcmap.c (tt_cmap_unicode_class_rec): Fix warning.
+
+2017-07-05  Werner Lemberg  <[email protected]>
+
 	* src/truetype/ttgxvar.c (FT_Stream_SeekSet): Fix warning (#51395).
 
 2017-07-04  Werner Lemberg  <[email protected]>
--- 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 */
   )