aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-29 21:28:16 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-29 21:28:16 +0200
commit20ae9d4f716cd898ca1aa47b7ea0664ebc57b2ba (patch)
tree0d1a3cf745a9dfcd15317a8518e8d5c1e6b9d436 /src
parent35955179c6c3935e9b876090e29bb90c5740838f (diff)
strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MIN
... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index eff0f9a3b..8ee8f6897 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);