]> sjero.net Git - linphone/commitdiff
Fix linphone_call_get_remote_params JNI
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 27 Feb 2012 16:12:57 +0000 (17:12 +0100)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Mon, 27 Feb 2012 16:12:57 +0000 (17:12 +0100)
coreapi/linphonecore_jni.cc

index 7548a347f598d1db4c524323374bf378b0b18f19..0a36fc7da21194d182ed9f22172df1c2b8ff418e 100644 (file)
@@ -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){