mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Fix static cast to make gcc happy
This commit is contained in:
parent
95621ac2d0
commit
34c5f184ed
@ -63,8 +63,9 @@ main(int ac, const char** av)
|
||||
}
|
||||
|
||||
JavaVM* vm;
|
||||
JNIEnv* e;
|
||||
JNI_CreateJavaVM(&vm, reinterpret_cast<void**>(&e), &vmArgs);
|
||||
void* env;
|
||||
JNI_CreateJavaVM(&vm, &env, &vmArgs);
|
||||
JNIEnv* e = static_cast<JNIEnv*>(env);
|
||||
|
||||
jclass c = e->FindClass(class_);
|
||||
if (not e->ExceptionOccurred()) {
|
||||
|
Loading…
Reference in New Issue
Block a user