aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/strtoofft.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h
index c556404d5..3bea048e6 100644
--- a/lib/strtoofft.h
+++ b/lib/strtoofft.h
@@ -58,7 +58,7 @@
#endif
#define CURL_LLONG_MAX CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)
-#define CURL_LLONG_MIN CURL_OFF_T_C(0x8000000000000000)
+#define CURL_LLONG_MIN (-CURL_LLONG_MAX - CURL_OFF_T_C(1))
#endif