mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fix compilation in magic search
This commit is contained in:
parent
ce6e236b5b
commit
fc3ac05c55
1 changed files with 2 additions and 2 deletions
|
|
@ -190,8 +190,8 @@ list<SearchResult> MagicSearch::getAllFriends() {
|
|||
unsigned int cpt = 0;
|
||||
string name1 = linphone_friend_get_name(lsr.getFriend());
|
||||
string name2 = linphone_friend_get_name(rsr.getFriend());
|
||||
unsigned int char1 = tolower(name1.at(cpt));
|
||||
unsigned int char2 = tolower(name2.at(cpt));
|
||||
int char1 = tolower(name1.at(cpt));
|
||||
int char2 = tolower(name2.at(cpt));
|
||||
|
||||
while (name1.size() > cpt && name2.size() > cpt) {
|
||||
if (char1 < char2) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue