diff options
author | Marcel Raad <raad@teamviewer.com> | 2016-11-18 10:07:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-18 10:11:55 +0100 |
commit | 21aa32d30dbf319f2d336e0cb68d3a3235869fbb (patch) | |
tree | f8dc171c75e56b4b96254c87c60a37cd2f34273f /lib/multiif.h | |
parent | 0b8d682f81ee9acb763dd4c9ad805fe08d1227c0 (diff) | |
download | curl-21aa32d30dbf319f2d336e0cb68d3a3235869fbb.tar.gz |
lib: fix compiler warnings after de4de4e3c7c
Visual C++ now complains about implicitly casting time_t (64-bit) to
long (32-bit). Fix this by changing some variables from long to time_t,
or explicitly casting to long where the public interface would be
affected.
Closes #1131
Diffstat (limited to 'lib/multiif.h')
-rw-r--r-- | lib/multiif.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multiif.h b/lib/multiif.h index eaff496ea..e5de1fc49 100644 --- a/lib/multiif.h +++ b/lib/multiif.h @@ -25,9 +25,9 @@ /* * Prototypes for library-wide functions provided by multi.c */ -void Curl_expire(struct Curl_easy *data, long milli); +void Curl_expire(struct Curl_easy *data, time_t milli); void Curl_expire_clear(struct Curl_easy *data); -void Curl_expire_latest(struct Curl_easy *data, long milli); +void Curl_expire_latest(struct Curl_easy *data, time_t milli); bool Curl_pipeline_wanted(const struct Curl_multi* multi, int bits); void Curl_multi_handlePipeBreak(struct Curl_easy *data); |