[partition] Use C++-style cast

This commit is contained in:
Adriaan de Groot 2020-10-24 02:19:05 +02:00
parent 6605e11394
commit 01b75ef4b5

View File

@ -59,7 +59,7 @@ convenienceName( const Partition* const candidate )
QString p;
QTextStream s( &p );
s << (void*)(candidate); // No good name available, use pointer address
s << static_cast<const void*>(candidate); // No good name available, use pointer address
return p;
}