[gjs/wip/js24: 10/29] fix Wsign-compare warnings
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24: 10/29] fix Wsign-compare warnings
- Date: Tue, 15 Oct 2013 02:13:51 +0000 (UTC)
commit 3d4587c924cabb1b302d8abfb86893ac8f9686ff
Author: Tim Lunn <tim feathertop org>
Date: Wed Sep 25 16:44:57 2013 +1000
fix Wsign-compare warnings
gi/object.cpp | 2 +-
gjs/mem.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/object.cpp b/gi/object.cpp
index fc06471..00c7f9e 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -2361,7 +2361,7 @@ gjs_object_class_init(GObjectClass *g_class,
{
GPtrArray *properties;
GType gtype;
- gint i;
+ guint i;
gtype = G_OBJECT_CLASS_TYPE (g_class);
diff --git a/gjs/mem.cpp b/gjs/mem.cpp
index 02a23a3..40b9235 100644
--- a/gjs/mem.cpp
+++ b/gjs/mem.cpp
@@ -74,7 +74,7 @@ gjs_memory_report(const char *where,
{
int i;
int n_counters;
- int total_objects;
+ unsigned int total_objects;
gjs_debug(GJS_DEBUG_MEMORY,
"Memory report: %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]