diff --git a/include/wx/msw/private/fswatcher.h b/include/wx/msw/private/fswatcher.h index 664c8eccaa..3265c81025 100644 --- a/include/wx/msw/private/fswatcher.h +++ b/include/wx/msw/private/fswatcher.h @@ -179,7 +179,7 @@ public: wxCHECK_MSG( overlapped != NULL, false, "Null out parameter 'overlapped'"); - int ret = GetQueuedCompletionStatus(m_iocp, count, (PULONG_PTR)watch, + int ret = GetQueuedCompletionStatus(m_iocp, count, (ULONG_PTR *)watch, overlapped, INFINITE); if (!ret) {