Commit 2f4bbee4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

help: fix loop boundary (overflow/underflow)

parent 445de3b2
......@@ -445,7 +445,7 @@ static void print_item(const module_t *m, const module_config_t *item,
ket = "}";
*typebuf = 0;
for (size_t i = 0; i < item->list_count; i++)
for (size_t i = 0; i < (size_t)i_count; i++)
{
if (i != 0)
strcat(typebuf, ", ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment