fix warning on centOs

This commit is contained in:
Sandrine Avakian 2016-06-16 16:02:44 +02:00
parent a82a1acaa2
commit 9f01da42b9

View file

@ -385,7 +385,7 @@ LinphoneProxyConfig *Daemon::findProxy(int id) {
LinphoneAuthInfo *Daemon::findAuthInfo(int id) {
const MSList *elem = linphone_core_get_auth_info_list(mLc);
if (elem == NULL || id < 1 || id > ms_list_size(elem)) {
if (elem == NULL || id < 1 || (unsigned int)id > ms_list_size(elem)) {
return NULL;
}
while (id > 1) {