Fixed some minor mismatched types found by splint.

This commit is contained in:
Dan Fandrich 2007-08-26 05:53:26 +00:00
parent 327c0d6b1c
commit 523767660c
10 changed files with 46 additions and 42 deletions

View file

@ -200,7 +200,7 @@ create_hostcache_id(const char *server, int port)
}
struct hostcache_prune_data {
int cache_timeout;
long cache_timeout;
time_t now;
};
@ -232,7 +232,7 @@ hostcache_timestamp_remove(void *datap, void *hc)
* Prune the DNS cache. This assumes that a lock has already been taken.
*/
static void
hostcache_prune(struct curl_hash *hostcache, int cache_timeout, time_t now)
hostcache_prune(struct curl_hash *hostcache, long cache_timeout, time_t now)
{
struct hostcache_prune_data user;