diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index 7548a347f..0a36fc7da 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -1388,7 +1388,7 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_createDefaultCallParams } extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv *env, jobject thiz, jlong lc){ - return (jlong) linphone_call_params_copy(linphone_call_get_remote_params((linphone_call_params_copy*)lc)); + return (jlong) linphone_call_params_copy(linphone_call_get_remote_params((LinphoneCall*)lc)); } extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getCurrentParamsCopy(JNIEnv *env, jobject thiz, jlong lc){