From: Kern Sibbald Date: Wed, 14 Oct 2009 19:31:37 +0000 (+0200) Subject: Fix 3.0.3 Win build X-Git-Tag: Release-3.0.3~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa1f491ac7c5742c3cb922205da2929ac0524a03;p=bacula%2Fbacula Fix 3.0.3 Win build --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index 801ae45a6b..2ed6127c66 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -971,7 +971,7 @@ bool decompress_data(JCR *jcr, char **data, uint32_t *length) (const Byte *)*data, (uLong)*length)) == Z_BUF_ERROR) { /* 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); diff --git a/bacula/src/win32/cats/bacula_cats.def b/bacula/src/win32/cats/bacula_cats.def index 98504f016f..4c24d7b510 100644 --- a/bacula/src/win32/cats/bacula_cats.def +++ b/bacula/src/win32/cats/bacula_cats.def @@ -24,6 +24,7 @@ _ZN9dbid_listC2Ev _ZN9dbid_listD1Ev _ZN9dbid_listD2Ev _Z13_dbg_print_dbP3JCRP6_iobuf +_Z15db_list_handlerPviPPc ; sql_create.o _Z20db_create_job_recordP3JCRP4B_DBP7JOB_DBR