diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2010-11-30 16:15:19 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-30 16:15:40 (GMT) |
commit | 3e69b6b8f8e62bc7ca0944a957371e6d5de4640b (patch) | |
tree | 59d646ce16266dc42bd113fb5e718a4ccc9c33c7 | |
parent | 0211631bb8af96dfe2f6edc2d6c419f496ba89da (diff) | |
download | Qt-3e69b6b8f8e62bc7ca0944a957371e6d5de4640b.zip Qt-3e69b6b8f8e62bc7ca0944a957371e6d5de4640b.tar.gz Qt-3e69b6b8f8e62bc7ca0944a957371e6d5de4640b.tar.bz2 |
avoid the warning about comparison between signed and unsigned integers
Merge-request: 951
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_win.cpp b/src/corelib/kernel/qeventdispatcher_win.cpp index 91c20b5..a363874 100644 --- a/src/corelib/kernel/qeventdispatcher_win.cpp +++ b/src/corelib/kernel/qeventdispatcher_win.cpp @@ -492,7 +492,7 @@ LRESULT QT_WIN_CALLBACK qt_internal_proc(HWND hwnd, UINT message, WPARAM wp, LPA // we also use a Windows timer to send posted events when the message queue is full || (message == WM_TIMER && d->sendPostedEventsWindowsTimerId != 0 - && wp == d->sendPostedEventsWindowsTimerId)) { + && wp == (uint)d->sendPostedEventsWindowsTimerId)) { int localSerialNumber = d->serialNumber; if (localSerialNumber != d->lastSerialNumber) { d->lastSerialNumber = localSerialNumber; |