compiler warning fix, compare struct pointers of the same type
This commit is contained in:
Родитель
6587ff440a
Коммит
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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче