]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix picky compiler warning
authorKern Sibbald <kern@sibbald.com>
Fri, 31 Oct 2008 20:37:18 +0000 (20:37 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 31 Oct 2008 20:37:18 +0000 (20:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7956 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/postgresql.c

index 7229f9900686f60f69ab2b5ffba2dd604ee390cc..295d8190b356e45482885e60f3ea3c91f50bcde2 100644 (file)
@@ -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");