Cast thread handle to DWORD.

This commit is contained in:
Bartosz Taudul 2019-08-16 21:21:37 +02:00
parent 6c53cac15e
commit 6c1dd8eaec

View File

@ -171,7 +171,7 @@ t_GetProcessImageFileNameA GetProcessImageFileNameA = (t_GetProcessImageFileName
void SysTraceSendExternalName( uint64_t thread )
{
bool threadSent = false;
const auto hnd = OpenThread( THREAD_QUERY_LIMITED_INFORMATION, FALSE, thread );
const auto hnd = OpenThread( THREAD_QUERY_LIMITED_INFORMATION, FALSE, DWORD( thread ) );
if( hnd != INVALID_HANDLE_VALUE )
{
#if defined NTDDI_WIN10_RS2 && NTDDI_VERSION >= NTDDI_WIN10_RS2