From 994e381f417464489dd2e6c9c1de163b576adfea Mon Sep 17 00:00:00 2001 From: Thierry Bastian Date: Wed, 24 Mar 2010 10:33:00 +0100 Subject: Fix compilation for winCE --- src/corelib/io/qwindowspipewriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- cgit v0.12