Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent f17468ddf9
commit f216c88095

@ -100,7 +100,7 @@ unsigned char *spc_base64_encode(unsigned char *input, size_t len, int wrap) {
//---------------------------------------------------------------------------
static char b64revtb[256] = {
static signed char b64revtb[256] = {
-3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*0-15*/
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*16-31*/
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, /*32-47*/

Loading…
Cancel
Save