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 <sebastian+dev@ramacher.at>
This commit is contained in:
Marwan Tanager 2013-03-29 06:14:26 +02:00 committed by Sebastian Ramacher
parent 8f695b8c52
commit 964bdde27f

View file

@ -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) {