]> granicus.if.org Git - curl/commitdiff
multi: Fix compile warning on 64-bit systems
authorBen Greear <greearb@candelatech.com>
Tue, 24 Aug 2010 16:30:26 +0000 (18:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Aug 2010 16:30:26 +0000 (18:30 +0200)
lib/multi.c

index dd196b7eb0baa55425b79b6ed9002ef7012cf09b..4bf74a74674373684e150db8281d852d4df305d3 100644 (file)
@@ -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;
   }