Commit 964bdde2 authored by Marwan Tanager's avatar Marwan Tanager Committed by Sebastian Ramacher

Use gint64 for view time instead of guint64.

The last_view member in zathura_page_widget_private_s is gint64, so we should
do the same here.
Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 8f695b8c
......@@ -1236,8 +1236,8 @@ zathura_page_cache_lru_invalidate(zathura_t* zathura)
g_return_val_if_fail(zathura != NULL, -1);
ssize_t lru_index = 0;
guint64 view_time = 0;
guint64 lru_view_time = G_MAXUINT64;
gint64 view_time = 0;
gint64 lru_view_time = G_MAXINT64;
GtkWidget* page_widget;
for (unsigned int i = 0; i < zathura->page_cache.size; ++i) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment