fix questionable compare

This commit is contained in:
Marty Kuhrt 2005-12-30 00:35:21 +00:00
parent cc34342790
commit 0040a60559
1 changed files with 1 additions and 1 deletions

View File

@ -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;