diff options
author | Bensuperpc <bensuperpc@gmail.com> | 2022-10-22 13:04:48 +0200 |
---|---|---|
committer | Bensuperpc <bensuperpc@gmail.com> | 2022-10-22 13:04:48 +0200 |
commit | 56ae4e5b6ad984d4c9569cb024d807bd695555a6 (patch) | |
tree | 6c57be7ca586d98f98e7be40fc9c0343eba2696c /launcher/tasks/Task.cpp | |
parent | 7a8c9637225f457d4648a00ff7d8031acd403730 (diff) | |
download | PrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.tar.gz PrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.tar.bz2 PrismLauncher-56ae4e5b6ad984d4c9569cb024d807bd695555a6.zip |
Change old style cast to C++ cast
Change old style cast to C++ cast
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
Diffstat (limited to 'launcher/tasks/Task.cpp')
-rw-r--r-- | launcher/tasks/Task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/tasks/Task.cpp b/launcher/tasks/Task.cpp index b4babdd4..9ea1bb26 100644 --- a/launcher/tasks/Task.cpp +++ b/launcher/tasks/Task.cpp @@ -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 { |