Commit 95010ccc authored by Benjamin REIS's avatar Benjamin REIS

fix build

parent a3528ad2
......@@ -277,7 +277,7 @@ void * linphone_chat_message_get_message_state_changed_cb_user_data(LinphoneChat
size_t linphone_chat_message_get_file_size(const LinphoneChatMessage *msg) {
if (L_GET_PRIVATE_FROM_C_OBJECT(msg)->hasFileTransferContent())
return L_GET_PRIVATE_FROM_C_OBJECT(msg)->getFileTransferContent()->getFileSize();
return static_cast<const LinphonePrivate::FileTransferContent *>(L_GET_PRIVATE_FROM_C_OBJECT(msg)->getFileTransferContent())->getFileSize();
return 0;
}
......
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