Skip to content

Commit

Permalink
explicitly cast the after work callback function to "uv_after_work_cb"
Browse files Browse the repository at this point in the history
for node >= v0.9.4 compat
  • Loading branch information
TooTallNate committed Dec 15, 2012
1 parent bfcb09d commit fdeff41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Handle<Value> FFI::FFICallAsync(const Arguments& args) {

uv_queue_work(uv_default_loop(), req,
FFI::AsyncFFICall,
FFI::FinishAsyncFFICall);
(uv_after_work_cb)FFI::FinishAsyncFFICall);

return Undefined();
}
Expand Down

0 comments on commit fdeff41

Please sign in to comment.