From: Kern Sibbald Date: Thu, 15 Oct 2009 15:18:07 +0000 (+0200) Subject: Eliminate compiler warning X-Git-Tag: Release-5.0.0~285^2~1^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f6e49e251582d4d68b6e89fe3c5d5c479d8fe91;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); }