From 07ec792212063851ee41eae33792d3d90d31e6a1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 1 Nov 2018 10:31:12 -0400 Subject: [PATCH] Warning fix --- src/test-ot-color.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-ot-color.cc b/src/test-ot-color.cc index 1e492e663..4b10e0177 100644 --- a/src/test-ot-color.cc +++ b/src/test-ot-color.cc @@ -90,7 +90,7 @@ png_dump (hb_face_t *face, unsigned int face_index) unsigned int upem = hb_face_get_upem (face); unsigned int blob_length = 0; unsigned int strike = 0; - for (unsigned int ppem = 1; ppem <= upem; ppem++) + for (unsigned int ppem = 1; ppem < upem; ppem++) { hb_font_set_ppem (font, ppem, ppem); hb_blob_t *blob = hb_ot_color_glyph_reference_png (font, sample_glyph_id);