Use (size_t)-1 instead.