Commit 9f01da42 authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

fix warning on centOs

parent a82a1aca
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment