Switch the other iteration counter to size_t as well; fixed implicit downconversion.