Skip to content

Commit

Permalink
[squash] fix test on 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrobots committed Feb 7, 2018
1 parent 8b810a2 commit 9f546fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/cpp/makecallbackcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ NAN_METHOD(Delay) {

DelayRequest* delay_request = new DelayRequest(delay, cb);

uv_queue_work(uv_default_loop(), &delay_request->request, Delay, AfterDelay);
uv_queue_work(
uv_default_loop()
, &delay_request->request
, Delay
, reinterpret_cast<uv_after_work_cb>(AfterDelay));
}

NAN_MODULE_INIT(Init) {
Expand Down

0 comments on commit 9f546fe

Please sign in to comment.