From a0953f2a16f6a62f56967d9cb565e368979a0abc Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 22 Jun 2018 00:32:52 +0200 Subject: [PATCH] Cast to correct type CID 276635 --- zathura/page-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura/page-widget.c b/zathura/page-widget.c index c025a02..ae8c4a7 100644 --- a/zathura/page-widget.c +++ b/zathura/page-widget.c @@ -568,7 +568,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo) cairo_restore(cairo); /* All but the last jobs requested here are aborted during zooming. * Processing and aborting smaller jobs first improves responsiveness. */ - const gint64 penalty = pwidth * pheight; + const gint64 penalty = (gint64)pwidth * (gint64)pheight; zathura_render_request(priv->render_request, g_get_real_time() + penalty); return FALSE; }