s/int/size_t/ (or unsigned int)?