summaryrefslogtreecommitdiff
path: root/lib/strtoofft.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-14 10:30:45 +0000
committerYang Tse <yangsita@gmail.com>2008-08-14 10:30:45 +0000
commit0105ad5e39ef147f0f2b4fa0c66a7e8b6bffe405 (patch)
treea5bb2b44067d41cbcb885a23c328f1cc1037316b /lib/strtoofft.h
parentcebaab8ee557f2024e04e584da113b589b19d2bb (diff)
downloadcurl-0105ad5e39ef147f0f2b4fa0c66a7e8b6bffe405.tar.gz
CURL_LLONG_MIN should now be signed
Diffstat (limited to 'lib/strtoofft.h')
-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