Use DWORD instead of unsigned long in wxFileSystemWatcher wxMSW code.

These two types are not the same in 64 bit Cygwin builds, so fix the build by
just using DWORD everywhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-05-12 13:14:36 +00:00
parent 63e44ee9e4
commit 5c0bcb7412
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ public:
// This function can block forever in it's wait for completion status.
// Use PostEmptyStatus() to wake it up (and end the worker thread)
Status
GetStatus(unsigned long* count, wxFSWatchEntryMSW** watch,
GetStatus(DWORD* count, wxFSWatchEntryMSW** watch,
OVERLAPPED** overlapped)
{
wxCHECK_MSG( m_iocp != INVALID_HANDLE_VALUE, Status_Error,

View File

@ -221,7 +221,7 @@ wxThread::ExitCode wxIOCPThread::Entry()
// true otherwise
bool wxIOCPThread::ReadEvents()
{
unsigned long count = 0;
DWORD count = 0;
wxFSWatchEntryMSW* watch = NULL;
OVERLAPPED* overlapped = NULL;
switch ( m_iocp->GetStatus(&count, &watch, &overlapped) )