Signed/unsigned mismatch: use `size_t` for iteration.