Commit 163fbbf0 authored by jehan's avatar jehan

remove windows warning C4800

parent c2a9c717
......@@ -282,6 +282,7 @@ set(STRICT_OPTIONS_OBJC )
if(MSVC)
list(APPEND STRICT_OPTIONS_CPP "/wd4995") # Disable "name was marked as #pragma deprecated" warnings
list(APPEND STRICT_OPTIONS_CPP "/wd4996") # Disable deprecated function warnings
list(APPEND STRICT_OPTIONS_CPP "/wd4800") # Disable warning for cast from bool_t to bool
if(ENABLE_STRICT)
list(APPEND STRICT_OPTIONS_CPP "/WX")
endif()
......
......@@ -62,7 +62,7 @@ void linphone_core_set_im_encryption_engine (LinphoneCore *lc, LinphoneImEncrypt
}
void linphone_core_enable_lime_x3dh (LinphoneCore *lc, bool_t enable) {
L_GET_CPP_PTR_FROM_C_OBJECT(lc)->enableLimeX3dh(enable);
L_GET_CPP_PTR_FROM_C_OBJECT(lc)->enableLimeX3dh(enable ? true : false);
}
bool_t linphone_core_lime_x3dh_enabled (const LinphoneCore *lc) {
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment