From 16abd03d4c464afeea3ff0c5aaa7ce19ff78efd4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 12 Nov 2010 09:01:10 +0100 Subject: [PATCH] Tweak compilation warning --- bacula/src/filed/backup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5