[partition] Use C++-style cast
This commit is contained in:
parent
6605e11394
commit
01b75ef4b5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user