mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 17:02:23 +00:00
Fix mod_java build issues
...including one syntax error and an underspecified cast.
This commit is contained in:
parent
6e3f4d667c
commit
0e22f1e954
@ -295,7 +295,7 @@ static switch_status_t create_java_vm(JavaVMOption *options, int optionCount, vm
|
|||||||
switch_status_t status;
|
switch_status_t status;
|
||||||
char *derr = NULL;
|
char *derr = NULL;
|
||||||
|
|
||||||
pJNI_CreateJavaVM = (void *)switch_dso_func_sym(javaVMHandle, "JNI_CreateJavaVM", &derr)
|
pJNI_CreateJavaVM = (jint (*)(JavaVM **, void **, void *))switch_dso_func_sym(javaVMHandle, "JNI_CreateJavaVM", &derr);
|
||||||
|
|
||||||
if (!derr)
|
if (!derr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user