aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 48863c8e6..041209c49 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -377,7 +377,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
cl = multi->closure;
while(cl) {
struct closure *next = cl->next;
- if(cl->easy_handle == easy_handle) {
+ if(cl->easy_handle == (struct SessionHandle *)easy_handle) {
/* remove this handle from the closure list */
free(cl);
if(prev)