From: Kern Sibbald Date: Mon, 30 Jun 2008 06:26:12 +0000 (+0000) Subject: Fix misplaced paren X-Git-Tag: Release-3.0.0~1211 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99d3d9b3871023366d01a722720e7e37c1793a7e;p=bacula%2Fbacula Fix misplaced paren git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7259 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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]; }