[util] Use automatic casts

This commit is contained in:
Behdad Esfahbod 2021-08-11 19:29:07 -06:00
parent 97a9e4e41e
commit ba418cfc52
1 changed files with 2 additions and 2 deletions

View File

@ -141,8 +141,8 @@ view_cairo_t::render (const font_options_t *font_opts)
/* Create surface. */ /* Create surface. */
cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r, cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r,
h + margin.t + margin.b, h + margin.t + margin.b,
static_cast<view_options_t *> (this), this,
static_cast<output_options_t *> (this), this,
content); content);
cairo_set_scaled_font (cr, scaled_font); cairo_set_scaled_font (cr, scaled_font);