mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
Fix build for Windows 10.
This commit is contained in:
parent
a5bd5e8d47
commit
7c03fefec5
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue