]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak compilation warning
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 12 Nov 2010 08:01:10 +0000 (09:01 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 12 Nov 2010 08:13:58 +0000 (09:13 +0100)
bacula/src/filed/backup.c

index 60beddb80c8e233f3062f3e8ee3d0e0825f02545..9dcf15efee302c3bbba145668ce35a274a06bbfa 100644 (file)
@@ -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);