From: Vadim Zeitlin Date: Thu, 22 Oct 2009 12:53:18 +0000 (+0000) Subject: Compilation fix for old SDK in wxFileSystemWatcher MSW code. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f12921dc97a067e9316836243bac71c39d00217?hp=5cd99866132366b74289e5a08e963723732bae01 Compilation fix for old SDK in wxFileSystemWatcher MSW code. PULONG_PTR is older SDK so use "LONG_PTR *" which we already define in our wx/msw/wrapwin.h in any case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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) {