From: Kern Sibbald Date: Sun, 27 Sep 2009 08:54:23 +0000 (+0200) Subject: Fix compiler warning X-Git-Tag: Release-5.0.0~299^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d3ddc5a870209d75644c0b9be7315c998df1fd6;p=bacula%2Fbacula Fix compiler warning --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index 680146700f..1a65e43a54 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -1084,7 +1084,7 @@ bool decompress_data(JCR *jcr, char **data, uint32_t *length) /* * The buffer size is too small, try with a bigger one */ - compress_len = jcr->compress_buf_size = jcr->compress_buf_size + jcr->compress_buf_size >> 1; + compress_len = jcr->compress_buf_size = jcr->compress_buf_size + (jcr->compress_buf_size >> 1); Dmsg2(200, "Comp_len=%d msglen=%d\n", compress_len, *length); jcr->compress_buf = check_pool_memory_size(jcr->compress_buf, compress_len);