diff --git a/src/pru.cpp b/src/pru.cpp index f8694be..fda3989 100644 --- a/src/pru.cpp +++ b/src/pru.cpp @@ -228,7 +228,7 @@ Handle waitForInterrupt(const Arguments& args) { baton->request.data = baton; baton->callback = Persistent::New(callback); - uv_queue_work(uv_default_loop(), &baton->request, AsyncWork, AsyncAfter); + uv_queue_work(uv_default_loop(), &baton->request, AsyncWork, (uv_after_work_cb)AsyncAfter); return scope.Close(Undefined()); } @@ -257,7 +257,7 @@ Handle forceExit(const Arguments& args) { }; /* Initialise the module */ -void Init(Handle exports, Handle module) { +void Init(Handle exports) { // pru.init(); exports->Set(String::NewSymbol("init"), FunctionTemplate::New(InitPRU)->GetFunction());