mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:36:00 +01:00
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:
parent
8f695b8c52
commit
964bdde27f
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue