aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/parsedate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index 864231b0e..37b4ddfe3 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -390,7 +390,7 @@ static time_t Curl_parsedate(const char *date)
*/
t = mktime(&tm);
- /* time zone adjust */
+ /* time zone adjust (cast t to int to compare to negative one) */
if(-1 != (int)t) {
struct tm *gmt;
long delta;