From: Kern Sibbald Date: Thu, 15 Oct 2009 15:18:07 +0000 (+0200) Subject: Eliminate compiler warning X-Git-Tag: Release-7.0.0~2602^2~1^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bb43390fa0d00f430318dd40bc4bbfe6988d817;p=bacula%2Fbacula Eliminate compiler warning --- diff --git a/bacula/src/stored/bextract.c b/bacula/src/stored/bextract.c index 5786a4c133..b96f7dfd66 100644 --- a/bacula/src/stored/bextract.c +++ b/bacula/src/stored/bextract.c @@ -443,7 +443,7 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) (const Byte *)wbuf, (uLong)wsize)) == Z_BUF_ERROR) { /* The buffer size is too small, try with a bigger one */ - compress_len = compress_len + compress_len >> 1; + compress_len = compress_len + (compress_len >> 1); compress_buf = check_pool_memory_size(compress_buf, compress_len); }