[libcalamares] Warnings--
- It's the perennial struggle between Qt index types and STL ones
This commit is contained in:
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…
Reference in New Issue
Block a user