]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for old SDK in wxFileSystemWatcher MSW code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Oct 2009 12:53:18 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Oct 2009 12:53:18 +0000 (12:53 +0000)
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

include/wx/msw/private/fswatcher.h

index 664c8eccaa124eed203ed259515eedcc26d39509..3265c810256dfde531ebf03e3ec7f1c6c9c88f90 100644 (file)
@@ -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)
         {