diff options
Diffstat (limited to 'lib/strtoofft.c')
-rw-r--r-- | lib/strtoofft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strtoofft.c b/lib/strtoofft.c index b854bf4de..bd3432ab8 100644 --- a/lib/strtoofft.c +++ b/lib/strtoofft.c @@ -132,7 +132,7 @@ curlx_strtoll(const char *nptr, char **endptr, int base) else value = CURL_OFF_T_MAX; - SET_ERRNO(ERANGE); + errno = ERANGE; } if(endptr) |