Fix build on Windows 64bit.

This commit is contained in:
Ghislain MARY 2017-06-16 11:13:19 +02:00
parent e308989f5e
commit 279ee501aa
2 changed files with 4 additions and 4 deletions

View file

@ -427,7 +427,7 @@ static void simple_conference_from_scratch(void){
/*make sure that the two calls from Marie's standpoint are in conference*/
marie_calls = linphone_core_get_calls(marie->lc);
BC_ASSERT_EQUAL(bctbx_list_size(marie_calls), 2, int, "%i");
BC_ASSERT_EQUAL((int)bctbx_list_size(marie_calls), 2, int, "%i");
for (it = marie_calls; it != NULL; it = it->next){
BC_ASSERT_TRUE(linphone_call_params_get_local_conference_mode(linphone_call_get_current_params((LinphoneCall*)it->data)) == TRUE);
}

View file

@ -1319,7 +1319,7 @@ static void cancelled_ringing_call(void) {
call_history = linphone_core_get_call_history(marie->lc);
BC_ASSERT_PTR_NOT_NULL(call_history);
BC_ASSERT_EQUAL(bctbx_list_size(call_history),1, int,"%i");
BC_ASSERT_EQUAL((int)bctbx_list_size(call_history),1, int,"%i");
BC_ASSERT_EQUAL(linphone_call_log_get_status((LinphoneCallLog*)bctbx_list_get_data(call_history)), LinphoneCallMissed, LinphoneCallStatus, "%i");
linphone_call_unref(out_call);
@ -2384,7 +2384,7 @@ static void audio_call_with_ice_no_matching_audio_codecs(void) {
logs = linphone_core_get_call_logs(pauline->lc);
BC_ASSERT_EQUAL(bctbx_list_size(logs), 1, int, "%d");
BC_ASSERT_EQUAL((int)bctbx_list_size(logs), 1, int, "%d");
if (logs){
const LinphoneErrorInfo *ei;
cl = (LinphoneCallLog*)logs->data;
@ -3868,7 +3868,7 @@ static void incoming_invite_with_invalid_sdp(void) {
BC_ASSERT_EQUAL(callee->stat.number_of_LinphoneCallIncomingReceived,0, int, "%d");
logs = linphone_core_get_call_logs(callee->lc);
BC_ASSERT_EQUAL(bctbx_list_size(logs), 1, int, "%i");
BC_ASSERT_EQUAL((int)bctbx_list_size(logs), 1, int, "%i");
if (logs){
const LinphoneErrorInfo *ei;
cl = (LinphoneCallLog*)logs->data;