From 9f01da42b9f1bb3b0d095de023a32ee25fefd953 Mon Sep 17 00:00:00 2001 From: Sandrine Avakian Date: Thu, 16 Jun 2016 16:02:44 +0200 Subject: [PATCH] fix warning on centOs --- daemon/daemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.cc b/daemon/daemon.cc index 47f820ab0..3ac3efa30 100644 --- a/daemon/daemon.cc +++ b/daemon/daemon.cc @@ -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) {