aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests/t-example-decorate.c
diff options
context:
space:
mode:
Diffstat (limited to 't/unit-tests/t-example-decorate.c')
-rw-r--r--t/unit-tests/t-example-decorate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/unit-tests/t-example-decorate.c b/t/unit-tests/t-example-decorate.c
index 8bf0709c41..bfc776e223 100644
--- a/t/unit-tests/t-example-decorate.c
+++ b/t/unit-tests/t-example-decorate.c
@@ -42,9 +42,9 @@ static void t_lookup(struct test_vars *vars)
static void t_loop(struct test_vars *vars)
{
- int i, objects_noticed = 0;
+ int objects_noticed = 0;
- for (i = 0; i < vars->n.size; i++) {
+ for (size_t i = 0; i < vars->n.size; i++) {
if (vars->n.entries[i].base)
objects_noticed++;
}