From fdeff41ae8b1cca31d4707d7b61253c45181b8fa Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sat, 15 Dec 2012 11:48:21 -0800 Subject: [PATCH] explicitly cast the after work callback function to "uv_after_work_cb" for node >= v0.9.4 compat --- src/ffi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffi.cc b/src/ffi.cc index 0e359c92..521028c5 100644 --- a/src/ffi.cc +++ b/src/ffi.cc @@ -323,7 +323,7 @@ Handle FFI::FFICallAsync(const Arguments& args) { uv_queue_work(uv_default_loop(), req, FFI::AsyncFFICall, - FFI::FinishAsyncFFICall); + (uv_after_work_cb)FFI::FinishAsyncFFICall); return Undefined(); }