diff options
author | ylecollen <ylecollen@amdocs.com> | 2017-01-04 14:49:51 +0100 |
---|---|---|
committer | ylecollen <ylecollen@amdocs.com> | 2017-01-04 14:49:51 +0100 |
commit | 7f6a63068bd29309e4e75d8af8fce24b6636dffe (patch) | |
tree | 36b91514ad782998c79b07b0a6a52332a4b7ad31 /java/android/OlmLibSdk/olm-sdk/src/main | |
parent | 4ca8086a394eb403494c3411e8f61c5964ef5cda (diff) |
Fix a C compilation warning.
Diffstat (limited to 'java/android/OlmLibSdk/olm-sdk/src/main')
-rw-r--r-- | java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni_helper.cpp b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni_helper.cpp index 9205fc0..e8661c7 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni_helper.cpp +++ b/java/android/OlmLibSdk/olm-sdk/src/main/jni/olm_jni_helper.cpp @@ -123,7 +123,7 @@ jlong getInstanceId(JNIEnv* aJniEnv, jobject aJavaObject, const char *aCallingCl { LOGE("## getAccountInstanceId() failure - invalid instance of"); } - else if (loaderClass = aJniEnv->GetObjectClass(aJavaObject)) + else if ((loaderClass = aJniEnv->GetObjectClass(aJavaObject))) { jfieldID instanceIdField = aJniEnv->GetFieldID(loaderClass, "mNativeId", "J"); |