]> granicus.if.org Git - curl/commitdiff
compiler warning fix, compare struct pointers of the same type
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Feb 2004 09:37:04 +0000 (09:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Feb 2004 09:37:04 +0000 (09:37 +0000)
lib/multi.c

index a16359ce81698cdf8919f194a02cfe3d25a8060d..926506b8a569fe1411e97e420d712d4475c0d598 100644 (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;
   }