Permalink
Browse files

update ffi_tests.cc for node >= v0.9.4

  • Loading branch information...
1 parent 81e725c commit d8ae4ccaaf704d78735deaeff8ddb8fb9b351229 @TooTallNate TooTallNate committed Dec 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/ffi_tests.cc
View
@@ -191,7 +191,7 @@ Handle<Value> CallCbAsync(const Arguments &args) {
} else {
uv_work_t *req = new uv_work_t;
req->data = (void *)callback;
- uv_queue_work(uv_default_loop(), req, AsyncCbCall, FinishAsyncCbCall);
+ uv_queue_work(uv_default_loop(), req, AsyncCbCall, (uv_after_work_cb)FinishAsyncCbCall);
}
return Undefined();
}

0 comments on commit d8ae4cc

Please sign in to comment.