From c5f22141eb2fc6b4bfccf6dcb5ecef53c9d8af05 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Sat, 21 Apr 2012 10:40:29 +0200 Subject: [PATCH] Resolve warning --- shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.c b/shortcuts.c index 5457d93..4b58223 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -383,7 +383,7 @@ sc_navigate(girara_session_t* session, girara_argument_t* argument, girara_setting_get(session, "pages-per-row", &offset); } - t = (t == 0) ? offset : t; + t = (t == 0) ? (unsigned int) offset : t; if (argument->n == NEXT) { if (scroll_wrap == true) { new_page = new_page + t;