[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Oct 4 14:32:35 UTC 2018


 util/view-cairo.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 310bdac4a08b99a25de6a16a20464873f90b52e4
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Oct 4 16:31:14 2018 +0200

    Fix a warning

diff --git a/util/view-cairo.hh b/util/view-cairo.hh
index 677f74b3..5be3523a 100644
--- a/util/view-cairo.hh
+++ b/util/view-cairo.hh
@@ -46,7 +46,7 @@ struct view_cairo_t
   void init (hb_buffer_t *buffer, const font_options_t *font_opts)
   {
     lines = g_array_new (false, false, sizeof (helper_cairo_line_t));
-    scale_bits = -font_opts->subpixel_bits;
+    scale_bits = - (int) font_opts->subpixel_bits;
   }
   void new_line (void)
   {


More information about the HarfBuzz mailing list