... because it set and held as an 'int' elsewhere and can never be
larger.
}
struct hostcache_prune_data {
- long cache_timeout;
time_t now;
+ int cache_timeout;
};
/*
* Prune the DNS cache. This assumes that a lock has already been taken.
*/
static void
-hostcache_prune(struct Curl_hash *hostcache, long cache_timeout, time_t now)
+hostcache_prune(struct Curl_hash *hostcache, int cache_timeout, time_t now)
{
struct hostcache_prune_data user;