diff options
-rw-r--r-- | cdr/cdr_pgsql.c | 2 | ||||
-rw-r--r-- | res/res_config_pgsql.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c index 500554cc1..b14e018fb 100644 --- a/cdr/cdr_pgsql.c +++ b/cdr/cdr_pgsql.c @@ -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; diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index fae140011..11dec3f40 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -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); |