Fixed windows shadow warnings

This commit is contained in:
Armin Novak 2022-02-17 16:32:40 +01:00 committed by akallabeth
parent 0801ab21ed
commit 80a352366f

View File

@ -187,7 +187,7 @@ static DWORD WINAPI shw_client_thread(LPVOID arg)
{
DWORD status;
HANDLE handles[MAXIMUM_WAIT_OBJECTS] = { 0 };
DWORD count = freerdp_get_event_handles(instance, handles, ARRAYSIZE(handles));
DWORD count = freerdp_get_event_handles(instance->context, handles, ARRAYSIZE(handles));
if ((count == 0) || (count == MAXIMUM_WAIT_OBJECTS))
{