From 137a75a72053f5ea271f259b2d5b2e1c6252cf01 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Fri, 8 Jan 2010 13:36:08 +0100 Subject: Explicitly make the characters in base85_decode_tab signed On some platforms, char is an unsigned type. --- base85.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base85.c b/base85.c index f0b4956..8b57074 100644 --- a/base85.c +++ b/base85.c @@ -34,7 +34,7 @@ base85_encode_tab[] = { /* 80 */ '`', '{', '|', '}', '~', }; -static char const +static signed char const base85_decode_tab[] = { /* 0 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /* 16 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -- cgit v1.2.1