[libcalamares] Warnings--

- It's the perennial struggle between Qt index types and STL ones
This commit is contained in:
Adriaan de Groot 2020-03-25 00:42:42 +01:00
parent 998790d69c
commit e3b4689cab

View File

@ -170,7 +170,8 @@ public:
if ( it != m_list.constEnd() )
{
return std::distance( m_list.constBegin(), it );
// distance() is usually a long long
return int( std::distance( m_list.constBegin(), it ) );
}
else
{