From: Kern Sibbald Date: Fri, 31 Oct 2008 20:37:18 +0000 (+0000) Subject: Fix picky compiler warning X-Git-Tag: Release-7.0.0~3810 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f322f24eff9adba6be5600dfc2a1008aa6d462c6;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");