strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN

... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
This commit is contained in:
Kamil Dudka 2010-05-29 21:28:16 +02:00
parent 35955179c6
commit 20ae9d4f71
4 changed files with 10 additions and 10 deletions

View file

@ -1613,7 +1613,7 @@ static int str2offset(curl_off_t *val, const char *str)
{
#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)
*val = curlx_strtoofft(str, NULL, 0);
if((*val == CURL_LLONG_MAX || *val == CURL_LLONG_MIN) && (ERRNO == ERANGE))
if((*val == CURL_OFF_T_MAX || *val == CURL_OFF_T_MIN) && (ERRNO == ERANGE))
return 1;
#else
*val = strtol(str, NULL, 0);