mirror of
https://github.com/YACReader/yacreader
synced 2025-11-17 07:22:47 -05:00
fixed compilation in MacOSX Mavericks (Qt4 and Qt5)
This commit is contained in:
@ -56,7 +56,7 @@ QString LogMessage::toString(const QString& msgFormat, const QString& timestampF
|
||||
decorated.replace("{line}",QString::number(line));
|
||||
|
||||
QString threadId;
|
||||
threadId.setNum((unsigned int)QThread::currentThreadId()); // change to (qint64) for 64bit Mac OS
|
||||
threadId.setNum((quint64)QThread::currentThreadId()); // change to (qint64) for 64bit Mac OS
|
||||
decorated.replace("{thread}",threadId);
|
||||
|
||||
// Fill in variables
|
||||
|
||||
Reference in New Issue
Block a user