> -       for(n=0 ; n < multi ; ++n)
> +       for(n=0 ; n <= multi ; ++n)

Isn't
|[0..n)| = n
and
|[0..n]| = n +1
?

I.e this patch will do one more iteration than expected?
Assume multi = 1, for example.

Reply via email to