[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Aug 13 22:10:49 UTC 2017


 src/hb-graphite2.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 219af509ef8269e51f1396b18521c75b000d8dda
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Aug 13 15:10:26 2017 -0700

    [graphite2] Fix warning

diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc
index 6eb34b0e..9e0761e6 100644
--- a/src/hb-graphite2.cc
+++ b/src/hb-graphite2.cc
@@ -366,7 +366,7 @@ _hb_graphite2_shape (hb_shape_plan_t    *shape_plan,
   float yscale = (float) font->y_scale / upem;
   yscale *= yscale / xscale;
   /* Positioning. */
-  int currclus = -1;
+  unsigned int currclus = (unsigned int) -1;
   const hb_glyph_info_t *info = buffer->info;
   hb_glyph_position_t *pPos = hb_buffer_get_glyph_positions (buffer, NULL);
   if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction))


More information about the HarfBuzz mailing list