OSX compile fix

This commit is contained in:
brunoherbelin
2021-02-15 09:03:30 +01:00
parent e37b21760e
commit 885ce67174
3 changed files with 7 additions and 7 deletions

View File

@@ -296,8 +296,8 @@ int Session::index(SourceList::iterator it) const
void Session::move(int current_index, int target_index)
{
if ( current_index < 0 || current_index > sources_.size()
|| target_index < 0 || target_index > sources_.size()
if ( current_index < 0 || current_index > (int) sources_.size()
|| target_index < 0 || target_index > (int) sources_.size()
|| target_index == current_index )
return;