Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx> --- base85.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/base85.c b/base85.c index b417a15..1d165d9 100644 --- a/base85.c +++ b/base85.c @@ -118,7 +118,7 @@ int main(int ac, char **av) int len = strlen(av[2]); encode_85(buf, av[2], len); if (len <= 26) len = len + 'A' - 1; - else len = len + 'a' - 26 + 1; + else len = len + 'a' - 26 - 1; printf("encoded: %c%s\n", len, buf); return 0; } -- 1.6.6.75.g37bae -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html