Skip to content

Commit 7962990

Browse files
Fixed builder error
1 parent cbf3037 commit 7962990

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trikKernel/src/debug.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Debugger::Debugger(QString const &methodName)
2424
QString const indent(mIndent[thread()], ' ');
2525
QString const str = QString("%1(Thread %2) Entering %3")
2626
.arg(indent)
27-
.arg(reinterpret_cast<int>(thread()))
27+
.arg(reinterpret_cast<unsigned long>(thread()))
2828
.arg(mMethodName);
2929

3030
qDebug() << str.toStdString().c_str();
@@ -37,7 +37,7 @@ Debugger::~Debugger()
3737
QString const indent(mIndent[thread()], ' ');
3838
QString const str = QString("%1(Thread %2) Exiting %3")
3939
.arg(indent)
40-
.arg(reinterpret_cast<int>(thread()))
40+
.arg(reinterpret_cast<unsigned long>(thread()))
4141
.arg(mMethodName);
4242

4343
qDebug() << str.toStdString().c_str();

0 commit comments

Comments
 (0)