diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-26 13:08:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-26 13:08:49 +0000 |
commit | 6b1220b61d5ed2481dbf31714a68be6ef6eed3da (patch) | |
tree | 2fdb2eb09bbfae448dc87dc0e9fc214452cb12e1 /lib/parsedate.c | |
parent | 9d7330d8790be54c3885e23359b25534974cfb82 (diff) | |
download | curl-6b1220b61d5ed2481dbf31714a68be6ef6eed3da.tar.gz |
Cory Nelson's work on nuking compiler warnings when building on x64 with
VS2005.
Diffstat (limited to 'lib/parsedate.c')
-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 26f573fdd..52529848d 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -398,7 +398,7 @@ static time_t Curl_parsedate(const char *date) /* Add the time zone diff (between the given timezone and GMT) and the diff between the local time zone and GMT. */ - delta = (tzoff!=-1?tzoff:0) + (t - t2); + delta = (long)((tzoff!=-1?tzoff:0) + (t - t2)); if((delta>0) && (t + delta < t)) return -1; /* time_t overflow */ |