Fixed int vs size_t comparison