Skip to content
Browse files

one more long fix

  • Loading branch information...
1 parent 095fa6a commit 90a4bdc6e11b7689bb72c3762abf7d0c4cd63861 @joeferner committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/javaObject.cpp
View
2 src/javaObject.cpp
@@ -66,7 +66,7 @@ JavaObject::~JavaObject() {
jclass nodeDynamicProxyClass = env->FindClass("node/NodeDynamicProxyClass");
if(env->IsInstanceOf(m_obj, nodeDynamicProxyClass)) {
jfieldID ptrField = env->GetFieldID(nodeDynamicProxyClass, "ptr", "J");
- DynamicProxyData* proxyData = (DynamicProxyData*)(int)env->GetLongField(m_obj, ptrField);
+ DynamicProxyData* proxyData = (DynamicProxyData*)(long)env->GetLongField(m_obj, ptrField);
delete proxyData;
}

0 comments on commit 90a4bdc

Please sign in to comment.
Something went wrong with that request. Please try again.