mirror of
https://github.com/curl/curl.git
synced 2026-05-13 13:16:19 +03:00
strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN
... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
This commit is contained in:
parent
35955179c6
commit
20ae9d4f71
4 changed files with 10 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue