mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:55:59 +01:00
Cast to correct type
CID 276635
This commit is contained in:
parent
9faba797e8
commit
a0953f2a16
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ zathura_page_widget_draw(GtkWidget* widget, cairo_t* cairo)
|
||||||
cairo_restore(cairo);
|
cairo_restore(cairo);
|
||||||
/* All but the last jobs requested here are aborted during zooming.
|
/* All but the last jobs requested here are aborted during zooming.
|
||||||
* Processing and aborting smaller jobs first improves responsiveness. */
|
* 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);
|
zathura_render_request(priv->render_request, g_get_real_time() + penalty);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue