mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48: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' */
|
||||
easy = multi->easy.next;
|
||||
while(easy) {
|
||||
if(easy->easy_handle == curl_handle)
|
||||
if(easy->easy_handle == (struct SessionHandle *)curl_handle)
|
||||
break;
|
||||
easy=easy->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user