Magical eightball says warnings be gone.
authorJoshua Colp <jcolp@digium.com>
Wed, 20 Sep 2006 21:03:37 +0000 (21:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 20 Sep 2006 21:03:37 +0000 (21:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43369 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_pgsql.c
res/res_config_pgsql.c

index 500554c..b14e018 100644 (file)
@@ -202,7 +202,7 @@ static int process_my_load_module(struct ast_config *cfg)
 {
        struct ast_variable *var;
         char *pgerror;
-       char *tmp;
+       const char *tmp;
 
        if (!(var = ast_variable_browse(cfg, "global")))
                return 0;
index fae1400..11dec3f 100644 (file)
@@ -628,7 +628,7 @@ static int reload(void)
 static int parse_config(void)
 {
        struct ast_config *config;
-       char *s;
+       const char *s;
 
        config = ast_config_load(RES_CONFIG_PGSQL_CONF);