core: fix warning (#7906)

This commit is contained in:
David Fort 2022-05-16 15:29:07 +02:00 committed by GitHub
parent 97c65d9701
commit 13d56dbfb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1814,7 +1814,7 @@ BOOL gcc_read_client_cluster_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
if (flags & REDIRECTED_SESSIONID_FIELD_VALID)
{
settings->RedirectedSessionId = redirectedSessionId;
settings->ConsoleSession = !!(redirectedSessionId == 0);
settings->ConsoleSession = (redirectedSessionId == 0);
}
if (blockLength != 8)