mirror of
https://github.com/YACReader/yacreader
synced 2025-09-11 07:45:27 -04:00
fixed compilation in MacOSX Mavericks (Qt4 and Qt5)
This commit is contained in:
@ -52,7 +52,7 @@ void HttpConnectionHandler::run() {
|
||||
}
|
||||
|
||||
|
||||
void HttpConnectionHandler::handleConnection(int socketDescriptor) {
|
||||
void HttpConnectionHandler::handleConnection(tSocketDescriptor socketDescriptor) {
|
||||
qDebug("HttpConnectionHandler (%p): handle new connection", this);
|
||||
busy = true;
|
||||
Q_ASSERT(socket.isOpen()==false); // if not, then the handler is already busy
|
||||
|
@ -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