From 4816294f5294bf0efe83aefa07560217d0085a90 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 5 Feb 2004 09:37:04 +0000 Subject: compiler warning fix, compare struct pointers of the same type --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/multi.c') diff --git a/lib/multi.c b/lib/multi.c index a16359ce8..926506b8a 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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; } -- cgit v1.2.3