From: Kern Sibbald Date: Fri, 31 Oct 2008 20:37:18 +0000 (+0000) Subject: Fix picky compiler warning X-Git-Tag: Release-3.0.0~658 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd174358a4b2f2d271d3ccf8af3199854571be90;p=bacula%2Fbacula Fix picky compiler warning git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7956 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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");