diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-05 09:37:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-05 09:37:04 +0000 |
commit | 4816294f5294bf0efe83aefa07560217d0085a90 (patch) | |
tree | dfb76f395fa6e7be9476470f643ec1479042c405 | |
parent | 6587ff440a44c12aa4ba87ecd0b160342049cb7a (diff) |
compiler warning fix, compare struct pointers of the same type
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |