fix compiler warning

This commit is contained in:
Yang Tse
2009-06-12 02:41:16 +00:00
parent 3ca0b9bb47
commit 4ea513cc38
4 changed files with 23 additions and 9 deletions

View File

@@ -382,7 +382,7 @@ CURLM *curl_multi_init(void)
return NULL;
}
multi->connc = Curl_mk_connc(CONNCACHE_MULTI, -1);
multi->connc = Curl_mk_connc(CONNCACHE_MULTI, -1L);
if(!multi->connc) {
Curl_hash_destroy(multi->sockhash);
Curl_hash_destroy(multi->hostcache);