summaryrefslogtreecommitdiff
path: root/girepository/cmph/fch_buckets.c
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/cmph/fch_buckets.c')
-rw-r--r--girepository/cmph/fch_buckets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/cmph/fch_buckets.c b/girepository/cmph/fch_buckets.c
index 24b98e67..a588f147 100644
--- a/girepository/cmph/fch_buckets.c
+++ b/girepository/cmph/fch_buckets.c
@@ -172,7 +172,7 @@ cmph_uint32 fch_buckets_get_nbuckets(fch_buckets_t * buckets)
cmph_uint32 * fch_buckets_get_indexes_sorted_by_size(fch_buckets_t * buckets)
{
- int i = 0;
+ cmph_uint32 i = 0;
cmph_uint32 sum = 0, value;
cmph_uint32 *nbuckets_size = (cmph_uint32 *) calloc((size_t)buckets->max_size + 1, sizeof(cmph_uint32));
cmph_uint32 * sorted_indexes = (cmph_uint32 *) calloc((size_t)buckets->nbuckets, sizeof(cmph_uint32));