Diff between 332695078487a91376d8dd5ab9f8121118ab63b7 and c3c6b4c905abc40d7c9c2ca8fad5252cb1057301

Changed Files

File Additions Deletions Status
src/shared/io-ell.c +1 -2 modified

Full Patch

diff --git a/src/shared/io-ell.c b/src/shared/io-ell.c
index 3701f43..6748982 100644
--- a/src/shared/io-ell.c
+++ b/src/shared/io-ell.c
@@ -113,8 +113,7 @@ bool io_set_disconnect_handler(struct io *io, io_callback_func_t callback,
 	if (!io || !io->l_io)
 		return false;
 
-	return l_io_set_disconnect_handler(io->l_io,
-						(l_io_disconnect_cb_t) callback,
+	return l_io_set_disconnect_handler(io->l_io, (void *) callback,
 							user_data, destroy);
 }