From 99d3d9b3871023366d01a722720e7e37c1793a7e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 30 Jun 2008 06:26:12 +0000 Subject: [PATCH] Fix misplaced paren git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7259 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/base64.c b/bacula/src/lib/base64.c index 587552a1c7..a7e551a884 100644 --- a/bacula/src/lib/base64.c +++ b/bacula/src/lib/base64.c @@ -177,7 +177,7 @@ bin_to_base64(char *buf, int buflen, char *bin, int binlen, int compatible) if (rem && j < buflen) { mask = (1 << rem) - 1; if (compatible) { - buf[j++] = (base64_digits[(reg & mask) << 6) - rem]; + buf[j++] = base64_digits[((reg & mask) << 6) - rem]; } else { buf[j++] = base64_digits[reg & mask]; } -- 2.39.5