commit | 310bdac4a08b99a25de6a16a20464873f90b52e4 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Thu Oct 04 16:31:14 2018 +0200 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Oct 04 16:31:14 2018 +0200 |
tree | 12a70dde23caea32758f8bc0cf9e0fe4aaf05bdb | |
parent | 0abce58139bb58b8b97171db6387d2ac7eebdee0 [diff] |
Fix a warning
diff --git a/util/view-cairo.hh b/util/view-cairo.hh index 677f74b..5be3523 100644 --- a/util/view-cairo.hh +++ b/util/view-cairo.hh
@@ -46,7 +46,7 @@ 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) {