diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-13 23:09:45 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-13 23:09:45 +0100 |
commit | ebf985c159be0df31848177db0512f282de1de5d (patch) | |
tree | 32331929ea9b7db1f2eea130eaf888a1a32eae9e | |
parent | de4de4e3c7c4690393de384f81b6c094d9f5d553 (diff) |
time_t fix: follow-up to de4de4e3c7c
Blah, I accidentally wrote size_t instead of time_t for two variables.
Reported-by: Dave Reisner
-rw-r--r-- | lib/progress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/progress.c b/lib/progress.c index adbb737ed..60627b2af 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) |