[gjs] fix Wsign-compare warnings



commit efb514d8d70d16f4f35022a290f37e06e1aaee12
Author: Tim Lunn <tim feathertop org>
Date:   Wed Sep 25 16:44:57 2013 +1000

    fix Wsign-compare warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710875

 gi/object.c |    2 +-
 gjs/mem.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/object.c b/gi/object.c
index 039b65f..42c1740 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -2361,7 +2361,7 @@ gjs_object_class_init(GObjectClass *class,
 {
     GPtrArray *properties;
     GType gtype;
-    gint i;
+    guint i;
 
     gtype = G_OBJECT_CLASS_TYPE (class);
 
diff --git a/gjs/mem.c b/gjs/mem.c
index 02a23a3..6d99967 100644
--- a/gjs/mem.c
+++ b/gjs/mem.c
@@ -74,7 +74,7 @@ gjs_memory_report(const char *where,
 {
     int i;
     int n_counters;
-    int total_objects;
+    guint total_objects;
 
     gjs_debug(GJS_DEBUG_MEMORY,
               "Memory report: %s",


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