summaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-12 02:41:16 +0000
committerYang Tse <yangsita@gmail.com>2009-06-12 02:41:16 +0000
commit4ea513cc387c0a67c861a87aea01e6d1cac4854c (patch)
treebd32a99caf08d3945f215cd0a0e179b8a2f3d881 /lib/easy.c
parent3ca0b9bb47f015c0de7379da46d10948e0637302 (diff)
downloadcurl-4ea513cc387c0a67c861a87aea01e6d1cac4854c.tar.gz
fix compiler warning
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 7701ce8e5..70aa5a097 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -544,7 +544,7 @@ CURLcode curl_easy_perform(CURL *curl)
if(!data->state.connc) {
/* oops, no connection cache, make one up */
- data->state.connc = Curl_mk_connc(CONNCACHE_PRIVATE, -1);
+ data->state.connc = Curl_mk_connc(CONNCACHE_PRIVATE, -1L);
if(!data->state.connc)
return CURLE_OUT_OF_MEMORY;
}