diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-11 10:19:22 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-12 13:32:21 +0100 |
commit | de4de4e3c7c4690393de384f81b6c094d9f5d553 (patch) | |
tree | ea50b347624888083bdd2f0417f98d50e5cfa70a /lib/urldata.h | |
parent | 56bb7b1a3c17657a376a32f39eb7d2d15876a519 (diff) | |
download | curl-de4de4e3c7c4690393de384f81b6c094d9f5d553.tar.gz |
timeval: prefer time_t to hold seconds instead of long
... as long is still 32bit on modern 64bit windows machines, while
time_t is generally 64bit.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 938462605..0aed9eaa5 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1146,8 +1146,8 @@ struct PureInfo { struct Progress { - long lastshow; /* time() of the last displayed progress meter or NULL to - force redraw at next call */ + time_t lastshow; /* time() of the last displayed progress meter or NULL to + force redraw at next call */ curl_off_t size_dl; /* total expected size */ curl_off_t size_ul; /* total expected size */ curl_off_t downloaded; /* transferred so far */ |