From 13d56dbfb2b33053b315c29c35280079a1dce990 Mon Sep 17 00:00:00 2001 From: David Fort Date: Mon, 16 May 2022 15:29:07 +0200 Subject: [PATCH] core: fix warning (#7906) --- libfreerdp/core/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/gcc.c b/libfreerdp/core/gcc.c index e3b0804b7..11c267e19 100644 --- a/libfreerdp/core/gcc.c +++ b/libfreerdp/core/gcc.c @@ -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)