diff options
author | Marty Kuhrt <marty@kuhrt.net> | 2005-12-30 00:35:21 +0000 |
---|---|---|
committer | Marty Kuhrt <marty@kuhrt.net> | 2005-12-30 00:35:21 +0000 |
commit | 0040a60559a3bdc9aaf295727cd07a37f0362e70 (patch) | |
tree | ca610e8ef1af2e4b360ce52c4bd6f67b8ad00b3f /lib | |
parent | cc343427902adf265f8356862766ed269ace1d99 (diff) | |
download | curl-0040a60559a3bdc9aaf295727cd07a37f0362e70.tar.gz |
fix questionable compare
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parsedate.c | 2 |
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; |