From 0fa5c5992fefe6178ec3a01a78ce78c4f06a601f Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 4 Dec 2018 02:14:22 +0200 Subject: [PATCH] - increased version numbers - fixed compiler warning --- app/build.gradle | 4 ++-- app/src/main/cpp/baresip.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7f12ccaf..313308fe 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId = 'com.tutpro.baresip' minSdkVersion 21 targetSdkVersion 27 - versionCode = 37 - versionName = '5.0.0' + versionCode = 38 + versionName = '5.1.0' externalNativeBuild { cmake { cFlags '-DHAVE_INTTYPES_H' diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 83bebafb..29cfab29 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -475,7 +475,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc JNIEXPORT void JNICALL Java_com_tutpro_baresip_BaresipService_baresipStop(JNIEnv *env, jobject thiz, jboolean force) { LOGD("ua_stop_all upon baresipStop"); - mqueue_push(mq, ID_UA_STOP_ALL, (void *)force); + mqueue_push(mq, ID_UA_STOP_ALL, (void *)((int)force)); return; }