Resolve warning

This commit is contained in:
Moritz Lipp 2012-04-21 10:40:29 +02:00
parent 6a30019b4e
commit c5f22141eb

View File

@ -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;