Remove format warnings.

This commit is contained in:
codestation
2013-12-23 23:12:34 -04:30
parent 3848873ccf
commit 3fa40ff080
3 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -39,7 +39,7 @@ CmaEvent::CmaEvent(vita_device_t *s_device) :
void CmaEvent::process() void CmaEvent::process()
{ {
qDebug("Starting event_thread: 0x%016" PRIxPTR, (quintptr)QThread::currentThreadId()); qDebug("Starting event_thread: 0x%016" PRIxPTR, (uintptr_t)QThread::currentThreadId());
while(true) { while(true) {
sema.acquire(); sema.acquire();

View File

@@ -89,7 +89,7 @@ int main(int argc, char *argv[])
app.installTranslator(&translator); app.installTranslator(&translator);
} }
qDebug("Starting main thread: 0x%016" PRIxPTR, (quintptr)QThread::currentThreadId()); qDebug("Starting main thread: 0x%016" PRIxPTR, (uintptr_t)QThread::currentThreadId());
// set the organization/application for QSettings to work properly // set the organization/application for QSettings to work properly
app.setOrganizationName("qcma"); app.setOrganizationName("qcma");