Permalink
Browse files

eio-emul: Cast eio_custom method to void(*)(eio_req*)

  • Loading branch information...
1 parent 1b22f53 commit 5cfe0b86d5be266ef51bbba369c39e412ee51944 @isaacs isaacs committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/eio-emul.h
View
@@ -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 */

0 comments on commit 5cfe0b8

Please sign in to comment.