diff options
Diffstat (limited to 'lib/strtoofft.c')
-rw-r--r-- | lib/strtoofft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strtoofft.c b/lib/strtoofft.c index f75eb8a44..61ff05bed 100644 --- a/lib/strtoofft.c +++ b/lib/strtoofft.c @@ -131,9 +131,9 @@ curlx_strtoll(const char *nptr, char **endptr, int base) } else { if(is_negative) - value = CURL_LLONG_MIN; + value = CURL_OFF_T_MIN; else - value = CURL_LLONG_MAX; + value = CURL_OFF_T_MAX; SET_ERRNO(ERANGE); } |