From: Daniel Stenberg Date: Sun, 13 Nov 2016 22:09:45 +0000 (+0100) Subject: time_t fix: follow-up to de4de4e3c7c X-Git-Tag: curl-7_52_0~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebf985c159be0df31848177db0512f282de1de5d;p=thirdparty%2Fcurl.git time_t fix: follow-up to de4de4e3c7c Blah, I accidentally wrote size_t instead of time_t for two variables. Reported-by: Dave Reisner --- diff --git a/lib/progress.c b/lib/progress.c index adbb737ede..60627b2af4 100644 --- a/lib/progress.c +++ b/lib/progress.c @@ -250,8 +250,8 @@ long Curl_pgrsLimitWaitTime(curl_off_t cursize, struct timeval now) { curl_off_t size = cursize - startsize; - size_t minimum; - size_t actual; + time_t minimum; + time_t actual; /* we don't have a starting point yet -- return 0 so it gets (re)set */ if(start.tv_sec == 0 && start.tv_usec == 0)