Fix FTBFS because invalid data conversion in qmutex

(cherry picked from commit a28cbf4837)
v3.5.13-sru
François Andriot 10 years ago committed by Slávek Banko
parent b0291308c4
commit 9ea7824ff9

@ -72,6 +72,7 @@ typedef pthread_mutex_t Q_MUTEX_T;
#include "qmutex_p.h"
#include <errno.h>
#include <stdint.h>
#include <string.h>
@ -264,8 +265,8 @@ void QRecursiveMutexPrivate::unlock()
} else {
#ifdef QT_CHECK_RANGE
qWarning("QMutex::unlock: unlock from different thread than locker");
qWarning(" was locked by %d, unlock attempt from %d",
(int)owner, (int)pthread_self());
qWarning(" was locked by %d, unlock attempt from %lu",
(int)owner, (uintptr_t)pthread_self());
#endif
}

Loading…
Cancel
Save