mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
compiler warning fix, compare struct pointers of the same type
This commit is contained in:
parent
6587ff440a
commit
4816294f52
@ -196,7 +196,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
|
|||||||
/* scan through the list and remove the 'curl_handle' */
|
/* scan through the list and remove the 'curl_handle' */
|
||||||
easy = multi->easy.next;
|
easy = multi->easy.next;
|
||||||
while(easy) {
|
while(easy) {
|
||||||
if(easy->easy_handle == curl_handle)
|
if(easy->easy_handle == (struct SessionHandle *)curl_handle)
|
||||||
break;
|
break;
|
||||||
easy=easy->next;
|
easy=easy->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user