aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index de820cf3..9348dc00 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -353,7 +353,7 @@ struct refl_item *get_item(ReflItemList *items, int i)
return &items->items[i];
}
-int num_items(ReflItemList *items)
+int num_items(const ReflItemList *items)
{
return items->n_items;
}