From f322f24eff9adba6be5600dfc2a1008aa6d462c6 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 31 Oct 2008 20:37:18 +0000 Subject: [PATCH] Fix picky compiler warning git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7956 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/postgresql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/cats/postgresql.c b/bacula/src/cats/postgresql.c index 7229f99006..295d8190b3 100644 --- a/bacula/src/cats/postgresql.c +++ b/bacula/src/cats/postgresql.c @@ -615,7 +615,7 @@ bail_out: int my_postgresql_batch_start(JCR *jcr, B_DB *mdb) { - char *query = "COPY batch FROM STDIN"; + const char *query = "COPY batch FROM STDIN"; Dmsg0(500, "my_postgresql_batch_start started\n"); -- 2.39.5