diff --git a/src/ProfileManager.cpp b/src/ProfileManager.cpp index cbdc5dbcd2..79662cb7ec 100644 --- a/src/ProfileManager.cpp +++ b/src/ProfileManager.cpp @@ -784,7 +784,7 @@ void ProfileManager::MoveProfilePriority(int index, bool up) if(curr->profile.m_ListPriority != priority) { curr->profile.m_ListPriority= priority; - if(i != index && i != swindex) + if(i != static_cast(index) && i != static_cast(swindex)) { curr->profile.SaveTypeToDir(curr->sDir); }