Mercurial > geeqie.yaz
diff src/ui_bookmark.c @ 736:a7289f9e8d29
Fix signed vs unsigned warnings.
In most cases, gint was used instead of guint.
author | zas_ |
---|---|
date | Thu, 22 May 2008 13:00:45 +0000 |
parents | eda074e91ddd |
children | 518c05cf63ba |
line wrap: on
line diff
--- a/src/ui_bookmark.c Thu May 22 11:28:35 2008 +0000 +++ b/src/ui_bookmark.c Thu May 22 13:00:45 2008 +0000 @@ -268,7 +268,7 @@ if (max == -1) max = HISTORY_DEFAULT_KEY_COUNT; if (max > 0) { - while (hd->list && g_list_length(hd->list) > max) + while (hd->list && g_list_length(hd->list) > (guint) max) { GList *work = g_list_last(hd->list); gchar *buf = work->data;