Fix 'increases required alignment of target type'

This commit is contained in:
Mickaël Turnel 2018-03-08 10:01:18 +01:00
parent c3a185d84c
commit 4a4ea17be2

View file

@ -2387,7 +2387,8 @@ LinphoneCore *linphone_core_new(const LinphoneCoreVTable *vtable,
}
LinphoneCore *linphone_core_ref(LinphoneCore *lc) {
return reinterpret_cast<LinphoneCore *>(belle_sip_object_ref(BELLE_SIP_OBJECT(lc)));
belle_sip_object_ref(BELLE_SIP_OBJECT(lc));
return lc;
}
void linphone_core_unref(LinphoneCore *lc) {