1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00

compiler warning fix, compare struct pointers of the same type

This commit is contained in:
Daniel Stenberg 2004-02-05 09:37:04 +00:00
parent 6587ff440a
commit 4816294f52

View File

@ -196,7 +196,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
/* scan through the list and remove the 'curl_handle' */
easy = multi->easy.next;
while(easy) {
if(easy->easy_handle == curl_handle)
if(easy->easy_handle == (struct SessionHandle *)curl_handle)
break;
easy=easy->next;
}