Fixed signedness conversion issue

This commit is contained in:
Sylvain Berfini 2017-12-07 10:28:48 +01:00
parent 578a88e552
commit 6cd4752bdf

View file

@ -4389,7 +4389,7 @@ LinphoneStatus MediaSession::sendDtmfs (const std::string &dtmfs) {
return -2;
}
if (!dtmfs.empty()) {
unsigned int delayMs = lp_config_get_int(linphone_core_get_config(getCore()->getCCore()), "net", "dtmf_delay_ms", 200);
unsigned int delayMs = (unsigned int) lp_config_get_int(linphone_core_get_config(getCore()->getCCore()), "net", "dtmf_delay_ms", 200);
d->dtmfSequence = dtmfs;
d->dtmfTimer = getCore()->getCCore()->sal->create_timer(MediaSessionPrivate::sendDtmf, this, delayMs, "DTMF sequence timer");
}