Use numeric_limits instead of SSIZE_MAX.