From 7c03fefec58c2bbef0015eeb59e5a28fee2e752d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 4 Aug 2016 17:37:28 +0200 Subject: [PATCH] Fix build for Windows 10. --- coreapi/account_creator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/account_creator.c b/coreapi/account_creator.c index 35dc3be52..4a4bb89a2 100644 --- a/coreapi/account_creator.c +++ b/coreapi/account_creator.c @@ -291,7 +291,7 @@ LinphoneAccountCreatorStatus linphone_account_creator_set_phone_number(LinphoneA // if phone is valid, we lastly want to check that length is OK { const LinphoneDialPlan* plan = linphone_dial_plan_by_ccc(country_code); - int size = strlen(phone_number); + int size = (int)strlen(phone_number); if (size < plan->nnl) { return LinphoneAccountCreatorPhoneNumberTooShort; } else if (size > plan->nnl + 1) {