summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-01-08 13:36:08 +0100
committerAndreas Gruenbacher <agruen@suse.de>2010-01-08 13:36:08 +0100
commit137a75a72053f5ea271f259b2d5b2e1c6252cf01 (patch)
tree92816149f7916e4ab177985b1330b2e4cc21b27e
parent0d663967f2cd1c4dd4fe34f49e6ebde79ac0479c (diff)
downloadpatch-base85.tar.gz
Explicitly make the characters in base85_decode_tab signedbase85
On some platforms, char is an unsigned type.
-rw-r--r--base85.c2
1 files changed, 1 insertions, 1 deletions
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,