From 5cfe0b86d5be266ef51bbba369c39e412ee51944 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 18 Jun 2012 17:46:39 -0700 Subject: [PATCH] eio-emul: Cast eio_custom method to void(*)(eio_req*) --- src/eio-emul.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eio-emul.h b/src/eio-emul.h index 714f507f544..4d5dd9757bd 100644 --- a/src/eio-emul.h +++ b/src/eio-emul.h @@ -66,7 +66,7 @@ # define eio_link(a,b,c,d,e) eio_link(a,b,c,d,e,(&uv_default_loop()->uv_eio_channel)) # define eio_symlink(a,b,c,d,e) eio_symlink(a,b,c,d,e,(&uv_default_loop()->uv_eio_channel)) # define eio_rename(a,b,c,d,e) eio_rename(a,b,c,d,e,(&uv_default_loop()->uv_eio_channel)) -# define eio_custom(a,b,c,d) eio_custom(a,b,c,d,(&uv_default_loop()->uv_eio_channel)) +# define eio_custom(a,b,c,d) eio_custom((void (*)(eio_req*))a,b,c,d,(&uv_default_loop()->uv_eio_channel)) # define eio_grp(a,b) eio_grp(a,b,(&uv_default_loop()->uv_eio_channel)) # endif /* !_WIN32 */