From 0d3ddc5a870209d75644c0b9be7315c998df1fd6 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 27 Sep 2009 10:54:23 +0200 Subject: [PATCH] Fix compiler warning --- bacula/src/filed/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5