From c38dc738eeca4a6b0a8ecdeee4829efab6e99416 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 16 Oct 2011 15:34:46 +0200 Subject: [PATCH] Eliminate complier warning --- bacula/src/filed/backup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index ebed5bb9a7..0f61e0f9de 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -121,7 +121,7 @@ bool blast_data_to_storage_daemon(JCR *jcr, char *addr) * For the same reason, lzo compression is initialized here. */ #ifdef HAVE_LZO - jcr->compress_buf_size = MAX(jcr->buf_size + (jcr->buf_size / 16) + 67 + sizeof(comp_stream_header), jcr->buf_size + ((jcr->buf_size+999) / 1000) + 30); + jcr->compress_buf_size = MAX(jcr->buf_size + (jcr->buf_size / 16) + 67 + (int)sizeof(comp_stream_header), jcr->buf_size + ((jcr->buf_size+999) / 1000) + 30); jcr->compress_buf = get_memory(jcr->compress_buf_size); #else jcr->compress_buf_size = jcr->buf_size + ((jcr->buf_size+999) / 1000) + 30; -- 2.39.5