Fix compilation under 64bit Windows and standarize the format of the thread ID.

This commit is contained in:
codestation
2013-12-19 00:03:13 -04:30
parent 0fc2198436
commit d6831fc6c6
4 changed files with 8 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ void CmaClient::connectUsb()
{
vita_device_t *vita;
qDebug("Starting usb_thread: %lu", (unsigned long)QThread::currentThreadId());
qDebug("Starting usb_thread: 0x%016" PRIxPTR, (quintptr)QThread::currentThreadId());
setActive(true);
@@ -84,7 +84,7 @@ void CmaClient::connectWireless()
QTime now = QTime::currentTime();
qsrand(now.msec());
qDebug("Starting wireless_thread: %lu", (unsigned long)QThread::currentThreadId());
qDebug("Starting wireless_thread: 0x%016" PRIxPTR, (quintptr)QThread::currentThreadId());
setActive(true);