Commit 9c904e79 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed compil on Android armv7

parent 5adb1f04
......@@ -137,7 +137,7 @@ list<SearchResult> MagicSearch::getContactListFromFilter(const string &filter, c
if (getLimitedSearch() && returnList.size() > getSearchLimit()) {
auto limitIterator = returnList.begin();
advance(limitIterator, getSearchLimit());
advance(limitIterator, (int)getSearchLimit());
returnList.erase(limitIterator, returnList.end());
}
......
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