summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-03-24 09:33:00 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-03-24 09:33:34 (GMT)
commit994e381f417464489dd2e6c9c1de163b576adfea (patch)
tree5416997147adaeefaecb16382d4d430432d6c908
parentfad919fa0fe976facc94685fd1460b4961b72c4e (diff)
downloadQt-994e381f417464489dd2e6c9c1de163b576adfea.zip
Qt-994e381f417464489dd2e6c9c1de163b576adfea.tar.gz
Qt-994e381f417464489dd2e6c9c1de163b576adfea.tar.bz2
Fix compilation for winCE
-rw-r--r--src/corelib/io/qwindowspipewriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qwindowspipewriter.cpp b/src/corelib/io/qwindowspipewriter.cpp
index da992d0..eb42c20 100644
--- a/src/corelib/io/qwindowspipewriter.cpp
+++ b/src/corelib/io/qwindowspipewriter.cpp
@@ -100,7 +100,8 @@ qint64 QWindowsPipeWriter::write(const char *ptr, qint64 maxlen)
void QWindowsPipeWriter::run()
{
- OVERLAPPED overl = {0, 0, { {0, 0 } }, CreateEvent(NULL, TRUE, FALSE, NULL)};
+ OVERLAPPED overl = {0, 0, {{ 0 }}, 0};
+ overl.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
forever {
lock.lock();
while(data.isEmpty() && (!quitNow)) {