From 5638b5061c1ea257729433d316553844e5c45c83 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 13 Dec 2023 09:58:23 +0100 Subject: [PATCH] [core] fixed -Wenum-int-mismatch --- libfreerdp/core/fastpath.h | 4 ++-- libfreerdp/core/license.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libfreerdp/core/fastpath.h b/libfreerdp/core/fastpath.h index 73ea504aa..9a2115922 100644 --- a/libfreerdp/core/fastpath.h +++ b/libfreerdp/core/fastpath.h @@ -127,8 +127,8 @@ typedef struct } FASTPATH_UPDATE_HEADER; FREERDP_LOCAL BOOL fastpath_read_header_rdp(rdpFastPath* fastpath, wStream* s, UINT16* length); -FREERDP_LOCAL int fastpath_recv_updates(rdpFastPath* fastpath, wStream* s); -FREERDP_LOCAL int fastpath_recv_inputs(rdpFastPath* fastpath, wStream* s); +FREERDP_LOCAL state_run_t fastpath_recv_updates(rdpFastPath* fastpath, wStream* s); +FREERDP_LOCAL state_run_t fastpath_recv_inputs(rdpFastPath* fastpath, wStream* s); FREERDP_LOCAL BOOL fastpath_decrypt(rdpFastPath* fastpath, wStream* s, UINT16* length); diff --git a/libfreerdp/core/license.c b/libfreerdp/core/license.c index 4471e815f..18ba9515c 100644 --- a/libfreerdp/core/license.c +++ b/libfreerdp/core/license.c @@ -836,7 +836,7 @@ fail: * @return if the operation completed successfully */ -int license_client_recv(rdpLicense* license, wStream* s) +state_run_t license_client_recv(rdpLicense* license, wStream* s) { BYTE flags; BYTE bMsgType;