Fix warning compiler
This commit is contained in:
parent
502de788f4
commit
293a12a138
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ JNIEXPORT jint OLM_SESSION_FUNC_DEF(initInboundSessionJni)(JNIEnv *env, jobject
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
size_t messageLength = (size_t)env->GetStringUTFLength(aOneTimeKeyMsg);
|
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);
|
sessionResult = olm_create_inbound_session(sessionPtr, accountPtr, (void*)messagePtr , messageLength);
|
||||||
if(sessionResult == olm_error()) {
|
if(sessionResult == olm_error()) {
|
||||||
|
|
Loading…
Reference in a new issue