cURL / Mailing Lists / curl-library / Single Mail

curl-library

[curl] multi: Fix compile warning on 64-bit systems.

From: Ben Greear <greearb_at_candelatech.com>
Date: Fri, 20 Aug 2010 11:07:53 -0700

Signed-off-by: Ben Greear <greearb_at_candelatech.com>

---
:100644 100644 dd196b7... 0819d5b... M	lib/multi.c
 lib/multi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/multi.c b/lib/multi.c
index dd196b7..0819d5b 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1831,7 +1831,7 @@ CURLMsg *curl_multi_info_read(CURLM *multi_handle, int *msgs_in_queue)
     /* remove the extracted entry */
     Curl_llist_remove(multi->msglist, e, NULL);
 
-    *msgs_in_queue = Curl_llist_count(multi->msglist);
+    *msgs_in_queue = (int)(Curl_llist_count(multi->msglist));
 
     return &msg->extmsg;
   }
-- 
1.6.2.5
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-20