mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
[partition] Use C++-style cast
This commit is contained in:
parent
6605e11394
commit
01b75ef4b5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue