return (retlen <= INT_MAX) ? retlen : -1;
return (retlen <= INT_MAX) ? (int)retlen : -1;
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)	{	size_t retlen;	int truncated;	_dopr(&buf, NULL, &n, &retlen, &truncated, format, args);	if (truncated)		/* In case of truncation, return -1 like traditional snprintf.		 * (Current drafts for ISO/IEC 9899 say snprintf should return		 * the number of characters that would have been written,		 * had the buffer been large enough.) */		return -1;	else		return (retlen <= INT_MAX) ? retlen : -1;	}