Revert "Revert previous change"
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 17 Jul 2019 18:20:08 +0000 (11:20 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 17 Jul 2019 18:20:08 +0000 (11:20 -0700)
This reverts commit b8e90ca1a10fbd472eda1aa8cc3797011da52356.

Works now.

src/hb-subset-plan.cc

index 6b33c17..e244da1 100644 (file)
@@ -179,7 +179,7 @@ _create_old_gid_to_new_gid_map (const hb_face_t *face,
 
     unsigned max_glyph =
     + hb_iter (all_gids_to_retain)
-    | hb_reduce (hb_max, 0)
+    | hb_reduce (hb_max, 0u)
     ;
     *num_glyphs = max_glyph + 1;
   }