Skip to content

Commit

Permalink
Merge pull request joeferner#49 from onddo/node9-cast-fix
Browse files Browse the repository at this point in the history
Fix compilation error with some versions of node-0.9
  • Loading branch information
joeferner committed May 8, 2013
2 parents db2bec7 + f30d993 commit b8ab8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/java.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ JNIEXPORT jobject JNICALL Java_node_NodeDynamicProxyClass_callJs(JNIEnv *env, jo
EIO_AfterCallJs(req);
#endif
} else {
uv_queue_work(uv_default_loop(), req, EIO_CallJs, EIO_AfterCallJs);
uv_queue_work(uv_default_loop(), req, EIO_CallJs, (uv_after_work_cb)EIO_AfterCallJs);

while(!dynamicProxyData->done) {
my_sleep(100);
Expand Down
2 changes: 1 addition & 1 deletion src/methodCallBaton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MethodCallBaton::~MethodCallBaton() {
void MethodCallBaton::run() {
uv_work_t* req = new uv_work_t();
req->data = this;
uv_queue_work(uv_default_loop(), req, MethodCallBaton::EIO_MethodCall, MethodCallBaton::EIO_AfterMethodCall);
uv_queue_work(uv_default_loop(), req, MethodCallBaton::EIO_MethodCall, (uv_after_work_cb)MethodCallBaton::EIO_AfterMethodCall);
}

v8::Handle<v8::Value> MethodCallBaton::runSync() {
Expand Down

0 comments on commit b8ab8d9

Please sign in to comment.