From 729cb3b458e84ed8526e0815ba70a2a43b49a75a Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 30 Sep 2024 16:46:19 +0200 Subject: [PATCH] fixed narrowing conversion error on RISC-V platform --- src/user152949/user152949.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user152949/user152949.h b/src/user152949/user152949.h index 2a12440..9d69f7c 100644 --- a/src/user152949/user152949.h +++ b/src/user152949/user152949.h @@ -10,7 +10,7 @@ class CBase64 static inline const char encodeCharacterTable[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** Static Base64 character decoding lookup table */ - static inline const char decodeCharacterTable[256] = { + static inline const signed char decodeCharacterTable[256] = { -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 ,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 ,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1,