Change old style cast to C++ cast
Change old style cast to C++ cast Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
7a8c963722
commit
56ae4e5b6a
6 changed files with 9 additions and 9 deletions
|
@ -153,7 +153,7 @@ QString Task::describe()
|
|||
auto name = objectName();
|
||||
if(name.isEmpty())
|
||||
{
|
||||
out << QString("0x%1").arg((quintptr)this, 0, 16);
|
||||
out << QString("0x%1").arg(reinterpret_cast<quintptr>(this), 0, 16);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue