Fix FTBFS because invalid data conversion in qmutex

pull/1/head
François Andriot 10 years ago committed by Slávek Banko
parent d8352f9db2
commit 6d4396b3b5

@ -72,6 +72,7 @@ typedef pthread_mutex_t Q_MUTEX_T;
#include "qmutex_p.h"
#include <errno.h>
#include <stdint.h>
#include <string.h>
// Private class declarations
@ -270,8 +271,8 @@ void TQRecursiveMutexPrivate::unlock()
} else {
#ifdef QT_CHECK_RANGE
tqWarning("TQMutex::unlock: unlock from different thread than locker");
tqWarning(" was locked by %d, unlock attempt from %d",
(int)owner, (int)pthread_self());
tqWarning(" was locked by %d, unlock attempt from %lu",
(int)owner, (uintptr_t)pthread_self());
#endif
}

Loading…
Cancel
Save