diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-08-26 05:53:26 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-08-26 05:53:26 +0000 |
commit | 523767660c05cf359091694fcaccb763ebb7b2d7 (patch) | |
tree | e16fa7454fdf7ea8e34c8d14fdc2fefdf019c99d /lib/hostip.c | |
parent | 327c0d6b1ccbaa73147ffd3f250c7f95e6f4d70d (diff) | |
download | curl-523767660c05cf359091694fcaccb763ebb7b2d7.tar.gz |
Fixed some minor mismatched types found by splint.
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 4 |
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; |