From 45a7e5fd370a5438f54e51e5ab57bd7a5fea56eb Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 22 Jul 2024 14:35:44 +0200 Subject: [PATCH] [crypto,base64] fix compiler warning --- libfreerdp/crypto/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/crypto/base64.c b/libfreerdp/crypto/base64.c index 5b03c894f..b9c4945b8 100644 --- a/libfreerdp/crypto/base64.c +++ b/libfreerdp/crypto/base64.c @@ -402,7 +402,7 @@ static INLINE int base64_decode_char(const signed char* WINPR_RESTRICT alphabet, if (c <= '\0') return -1; - return alphabet[c]; + return alphabet[(size_t)c]; } static INLINE void* base64_decode(const signed char* WINPR_RESTRICT alphabet,