[gegl] Change variable types to fix signedness



commit 0229e008879b0fca75593343c236257d97a8aaac
Author: Mukund Sivaraman <muks banu com>
Date:   Fri Jul 30 21:10:09 2010 +0530

    Change variable types to fix signedness

 gegl/gegl-dot.c                  |    2 +-
 gegl/operation/gegl-operations.c |    2 +-
 gegl/property-types/gegl-color.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index 181e721..6b71c89 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -80,7 +80,7 @@ gegl_dot_util_add_node (GString  *string,
     {
       guint        n_properties;
       GParamSpec **properties = gegl_list_properties (gegl_node_get_operation (node), &n_properties);
-      gint         i;
+      guint        i;
       for (i = 0; i < n_properties; i++)
         {
           const gchar *name   = properties[i]->name;
diff --git a/gegl/operation/gegl-operations.c b/gegl/operation/gegl-operations.c
index 494fcae..75b32bb 100644
--- a/gegl/operation/gegl-operations.c
+++ b/gegl/operation/gegl-operations.c
@@ -43,7 +43,7 @@ add_operations (GHashTable *hash,
 {
   GType *types;
   guint  count;
-  gint   no;
+  guint  no;
 
   types = g_type_children (parent, &count);
   if (!types)
diff --git a/gegl/property-types/gegl-color.c b/gegl/property-types/gegl-color.c
index 6debe23..679f62c 100644
--- a/gegl/property-types/gegl-color.c
+++ b/gegl/property-types/gegl-color.c
@@ -182,7 +182,7 @@ static gboolean
 parse_color_name (GeglColor   *color,
                   const gchar *color_string)
 {
-  gint              i;
+  gsize i;
 
   for (i = 0; i < G_N_ELEMENTS (color_names); ++i)
     {



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