suppress conversion warning from size_t to int