aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-26 05:53:26 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-26 05:53:26 +0000
commit523767660c05cf359091694fcaccb763ebb7b2d7 (patch)
treee16fa7454fdf7ea8e34c8d14fdc2fefdf019c99d /lib/hostip.c
parent327c0d6b1ccbaa73147ffd3f250c7f95e6f4d70d (diff)
Fixed some minor mismatched types found by splint.
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 189d0683d..02f4da06f 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -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;