From: Eric Bollengier Date: Fri, 12 Nov 2010 08:01:10 +0000 (+0100) Subject: Tweak compilation warning X-Git-Tag: Release-5.2.1~957 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1fb9f11023edb128bd7e42a0e82eaf8758b857a;p=bacula%2Fbacula Tweak compilation warning --- diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index 60beddb80c..9dcf15efee 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -1368,10 +1368,10 @@ static void close_vss_backup_session(JCR *jcr) WCHAR *metadata = g_pVSSClient->GetMetadata(); if (metadata) { FF_PKT *ff_pkt = jcr->ff; - ff_pkt->fname = "job"; + ff_pkt->fname = (char *)"job"; ff_pkt->type = FT_RESTORE_FIRST; ff_pkt->LinkFI = 0; - ff_pkt->object_name = "job_metadata.xml"; + ff_pkt->object_name = (char *)"job_metadata.xml"; ff_pkt->object = (char *)metadata; ff_pkt->object_len = (wcslen(metadata) + 1) * sizeof(WCHAR); save_file(jcr, ff_pkt, true);