From: Daniel Stenberg Date: Wed, 17 Aug 2005 09:11:27 +0000 (+0000) Subject: remove the typecast to long from time_t, since we now store it as curl_off_t X-Git-Tag: upstream/7.37.1~10988 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90e1a6905af29782c3bc7f106754d0908c074348;p=platform%2Fupstream%2Fcurl.git remove the typecast to long from time_t, since we now store it as curl_off_t --- diff --git a/lib/cookie.c b/lib/cookie.c index 0f6d681..a8519c4 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -343,7 +343,7 @@ Curl_cookie_add(struct SessionHandle *data, badcookie = TRUE; break; } - co->expires = (long)curl_getdate(what, &now); + co->expires = curl_getdate(what, &now); } else if(!co->name) { co->name = strdup(name);