[gnome-applets/wip/muktupavels/werror] sticky-notes: fix -Wsign-compare warning



commit 831c267a995791d6c193bd568f31c6b5057daa3e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 22:32:21 2020 +0300

    sticky-notes: fix -Wsign-compare warning

 gnome-applets/sticky-notes/sticky-notes.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnome-applets/sticky-notes/sticky-notes.c b/gnome-applets/sticky-notes/sticky-notes.c
index e1b24cd2e..288b4f174 100644
--- a/gnome-applets/sticky-notes/sticky-notes.c
+++ b/gnome-applets/sticky-notes/sticky-notes.c
@@ -900,8 +900,7 @@ stickynotes_save_now (void)
        GtkTextBuffer *buffer;
        GtkTextIter start, end;
        gchar *body;
-
-       gint i;
+       guint i;
 
        /* Create a new XML document */
        xmlDocPtr doc = xmlNewDoc(XML_CHAR ("1.0"));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]