[gnome-panel] panel-object-loader: fix sign-compare warnings



commit e3d7e269c4cda3f7422771de7b680b4dd68501fe
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Sep 17 20:44:47 2018 +0300

    panel-object-loader: fix sign-compare warnings

 gnome-panel/panel-object-loader.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/panel-object-loader.c b/gnome-panel/panel-object-loader.c
index 41eb84e31..830cc3042 100644
--- a/gnome-panel/panel-object-loader.c
+++ b/gnome-panel/panel-object-loader.c
@@ -353,7 +353,7 @@ char *
 panel_object_type_to_iid (PanelObjectType  type,
                           const char      *detail)
 {
-        int i;
+        guint i;
 
         if (type == PANEL_OBJECT_APPLET)
                 return g_strdup (detail);
@@ -387,8 +387,8 @@ panel_object_iid_to_type (const char       *iid,
 {
        const char *instance_id;
        char       *factory_id;
-       gboolean    is_applet;;
-        int         i;
+       gboolean    is_applet;
+       guint       i;
 
         if (detail)
                 *detail = NULL;


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