summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-07-26 20:41:23 +0200
committermouse <[email protected]>2022-08-15 13:07:57 +0800
commit5f7905fadeabc81b74aa276e6924c9338e7a9839 (patch)
tree3cb7ffc6eaf38d18eccc8c61660130dae670559f
parentd3de7968bc7b608e70b090bd838eeaf4ea7d1913 (diff)
downloadmate-desktop-5f7905fadeabc81b74aa276e6924c9338e7a9839.tar.bz2
mate-desktop-5f7905fadeabc81b74aa276e6924c9338e7a9839.tar.xz
mate-bg: fix -Wsign-compare warning
-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;