summaryrefslogtreecommitdiff
path: root/json-glib/json-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-array.c')
-rw-r--r--json-glib/json-array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-array.c b/json-glib/json-array.c
index 7e23621..530674a 100644
--- a/json-glib/json-array.c
+++ b/json-glib/json-array.c
@@ -140,7 +140,7 @@ json_array_unref (JsonArray *array)
g_atomic_int_compare_and_exchange (&array->ref_count, old_ref, old_ref - 1);
else
{
- gint i;
+ guint i;
for (i = 0; i < array->elements->len; i++)
json_node_free (g_ptr_array_index (array->elements, i));