From d350b89fe3438c60ab272542a7a1edffcd04b6c7 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 25 Aug 2023 14:03:42 +0200 Subject: [PATCH] [emu,scard] fix return type --- libfreerdp/emu/scard/smartcard_emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/emu/scard/smartcard_emulate.c b/libfreerdp/emu/scard/smartcard_emulate.c index 362273408..2505b7d21 100644 --- a/libfreerdp/emu/scard/smartcard_emulate.c +++ b/libfreerdp/emu/scard/smartcard_emulate.c @@ -2252,7 +2252,7 @@ LONG WINAPI Emulate_SCardReadCacheW(SmartcardEmulationContext* smartcard, SCARDC return status; } -static BOOL insert_data(wHashTable* table, DWORD FreshnessCounter, const void* key, +static LONG insert_data(wHashTable* table, DWORD FreshnessCounter, const void* key, const PBYTE Data, DWORD DataLen) { BOOL rc;