Fix a warning

This commit is contained in:
Behdad Esfahbod 2018-10-04 16:31:14 +02:00
parent 0abce58139
commit 310bdac4a0
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{