summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-bg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index 60513ea..d9de17a 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -3229,7 +3229,7 @@ mate_bg_create_frame_thumbnail (MateBG *bg,
if (!show)
return NULL;
- if (frame_num < 0 || frame_num >= g_queue_get_length (show->slides))
+ if (frame_num < 0 || (guint) frame_num >= g_queue_get_length (show->slides))
return NULL;
i = 0;