cast to void** not needed anymore for the vc++ 6.0 compiler
git-svn-id: svn://10.0.0.236/trunk@45614 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -126,12 +126,7 @@ nsJavaDOMImpl::nsJavaDOMImpl()
|
||||
#ifdef DEBUG
|
||||
printf("classpath is \"%s\"\n", vm_args.classpath);
|
||||
#endif // DEBUG
|
||||
#ifdef XP_PC
|
||||
// for some reason, vc++ 6.0 requires this cast
|
||||
JNI_CreateJavaVM(&jvm, (void**) &env, &vm_args);
|
||||
#else
|
||||
JNI_CreateJavaVM(&jvm, &env, &vm_args);
|
||||
#endif
|
||||
delete[] p;
|
||||
|
||||
gcClass = env->FindClass("org/mozilla/dom/DOMGarbageCollector");
|
||||
|
||||
Reference in New Issue
Block a user