[libcalamares] Warnings--

- It's the perennial struggle between Qt index types and STL ones
main
Adriaan de Groot 6 years ago
parent 998790d69c
commit e3b4689cab

@ -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
{

Loading…
Cancel
Save