Add LPTHREAD_START_ROUTINE due to compiler change (fixing issue #780) (#783)

This commit is contained in:
pan-wang 2018-04-18 16:03:12 -07:00 committed by GitHub
parent 341f6c4f30
commit 7351b274f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -38,7 +38,7 @@ FILE_WATCHER::Create(
m_hChangeNotificationThread = CreateThread(NULL,
0,
ChangeNotificationThread,
(LPTHREAD_START_ROUTINE)ChangeNotificationThread,
this,
0,
NULL);

View File

@ -75,7 +75,7 @@ FILE_WATCHER::Create(
m_hChangeNotificationThread = CreateThread(NULL,
0,
ChangeNotificationThread,
(LPTHREAD_START_ROUTINE)ChangeNotificationThread,
this,
0,
NULL);

View File

@ -43,7 +43,7 @@ IN_PROCESS_APPLICATION::~IN_PROCESS_APPLICATION()
}
//static
VOID
DWORD
IN_PROCESS_APPLICATION::DoShutDown(
LPVOID lpParam
)
@ -51,6 +51,7 @@ IN_PROCESS_APPLICATION::DoShutDown(
IN_PROCESS_APPLICATION* pApplication = static_cast<IN_PROCESS_APPLICATION*>(lpParam);
DBG_ASSERT(pApplication);
pApplication->ShutDownInternal();
return 0;
}
__override

View File

@ -100,7 +100,7 @@ public:
private:
static
VOID
DWORD
DoShutDown(
LPVOID lpParam
);