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:
akhil.arora%sun.com
1999-09-02 01:36:25 +00:00
parent 4fa8e5eadc
commit eb6618b847

View File

@@ -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");