From ba418cfc5218ac093b759e2c03a43234a786f6eb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 11 Aug 2021 19:29:07 -0600 Subject: [PATCH] [util] Use automatic casts --- util/view-cairo.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/view-cairo.hh b/util/view-cairo.hh index 6e85b927f..430f6f9fd 100644 --- a/util/view-cairo.hh +++ b/util/view-cairo.hh @@ -141,8 +141,8 @@ view_cairo_t::render (const font_options_t *font_opts) /* Create surface. */ cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r, h + margin.t + margin.b, - static_cast (this), - static_cast (this), + this, + this, content); cairo_set_scaled_font (cr, scaled_font);