Commit e3b4689c authored by Adriaan de Groot's avatar Adriaan de Groot

[libcalamares] Warnings--

- It's the perennial struggle between Qt index types and STL ones
parent 998790d6
......@@ -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
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment