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