From 6bb43390fa0d00f430318dd40bc4bbfe6988d817 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 15 Oct 2009 17:18:07 +0200 Subject: [PATCH] Eliminate compiler warning --- bacula/src/stored/bextract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5