aboutsummaryrefslogtreecommitdiff
path: root/java/android/OlmLibSdk/olm-sdk/src
diff options
context:
space:
mode:
authorpedroGitt <pedro.contreiras@amdocs.com>2016-10-13 10:26:27 +0200
committerpedroGitt <pedro.contreiras@amdocs.com>2016-10-13 10:26:27 +0200
commit293a12a1386e008b0c9f40115a96072a5e44729c (patch)
tree0a8d4ceb32da870b06d087fc3e3e768a621723e4 /java/android/OlmLibSdk/olm-sdk/src
parent502de788f4ba77604de7354e9945ea9e199ebc75 (diff)
Fix warning compiler
Diffstat (limited to 'java/android/OlmLibSdk/olm-sdk/src')
-rw-r--r--java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_session.cpp b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_session.cpp
index bdc2239..5def863 100644
--- a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_session.cpp
+++ b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_session.cpp
@@ -220,7 +220,7 @@ JNIEXPORT jint OLM_SESSION_FUNC_DEF(initInboundSessionJni)(JNIEnv *env, jobject
else
{
size_t messageLength = (size_t)env->GetStringUTFLength(aOneTimeKeyMsg);
- LOGD("## initInboundSessionJni(): messageLength=%d message=%s", messageLength, messagePtr);
+ LOGD("## initInboundSessionJni(): messageLength=%lu message=%s", messageLength, messagePtr);
sessionResult = olm_create_inbound_session(sessionPtr, accountPtr, (void*)messagePtr , messageLength);
if(sessionResult == olm_error()) {