[crypto,base64] fix compiler warning

This commit is contained in:
akallabeth 2024-07-22 14:35:44 +02:00
parent 09a6655823
commit 45a7e5fd37
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -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,