summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qwinoverlappedionotifier.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-02-03 15:29:13 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-04 08:43:38 +0100
commit3f75fb8d8f25af5b79b71ae74f453a2b220a11ce (patch)
treefef8df303fbaa07acc5e350bd2a66ef8feb7cf36 /src/corelib/io/qwinoverlappedionotifier.cpp
parent19f4b47b453ab9b9c6e05128ab8b1852e349c398 (diff)
MinGW: Fix warnings.
- Special #define to access HB seems no longer necessary (it was causing about mismatching DLL import attributes). Change-Id: I57cc7d57b12a67c1d549b053db81e1f198f87786 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/corelib/io/qwinoverlappedionotifier.cpp')
-rw-r--r--src/corelib/io/qwinoverlappedionotifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qwinoverlappedionotifier.cpp b/src/corelib/io/qwinoverlappedionotifier.cpp
index a0dd7a7ba9..a26dfd406c 100644
--- a/src/corelib/io/qwinoverlappedionotifier.cpp
+++ b/src/corelib/io/qwinoverlappedionotifier.cpp
@@ -84,7 +84,7 @@ public:
: hPort(INVALID_HANDLE_VALUE)
{
setObjectName(QLatin1String("I/O completion port thread"));
- HANDLE hIOCP = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, NULL, 0);
+ HANDLE hIOCP = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0);
if (!hIOCP) {
qErrnoWarning("CreateIoCompletionPort failed.");
return;
@@ -94,7 +94,7 @@ public:
~QWinIoCompletionPort()
{
- PostQueuedCompletionStatus(hPort, 0, NULL, NULL);
+ PostQueuedCompletionStatus(hPort, 0, 0, NULL);
QThread::wait();
CloseHandle(hPort);
}