diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-03-24 09:33:00 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-03-24 09:33:34 (GMT) |
commit | 994e381f417464489dd2e6c9c1de163b576adfea (patch) | |
tree | 5416997147adaeefaecb16382d4d430432d6c908 | |
parent | fad919fa0fe976facc94685fd1460b4961b72c4e (diff) | |
download | Qt-994e381f417464489dd2e6c9c1de163b576adfea.zip Qt-994e381f417464489dd2e6c9c1de163b576adfea.tar.gz Qt-994e381f417464489dd2e6c9c1de163b576adfea.tar.bz2 |
Fix compilation for winCE
-rw-r--r-- | src/corelib/io/qwindowspipewriter.cpp | 3 |
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)) { |