]> granicus.if.org Git - curl/commitdiff
CURL_LLONG_MIN should now be signed
authorYang Tse <yangsita@gmail.com>
Thu, 14 Aug 2008 10:30:45 +0000 (10:30 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 14 Aug 2008 10:30:45 +0000 (10:30 +0000)
lib/strtoofft.h

index c556404d55ab13ce9242f21c5fe3e70ba78dc0ab..3bea048e64436dda9a7a4c950195608a5b66dd10 100644 (file)
@@ -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