aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/config-parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/config-parser.c b/src/common/config-parser.c
index bc4831b..fbb79af 100644
--- a/src/common/config-parser.c
+++ b/src/common/config-parser.c
@@ -357,7 +357,7 @@ bc_config_list_keys(bc_config_t *config, const char *section)
if (config == NULL)
return NULL;
- bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
+ const bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
if (s == NULL)
return NULL;
@@ -386,7 +386,7 @@ bc_config_get(bc_config_t *config, const char *section, const char *key)
if (config == NULL)
return NULL;
- bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
+ const bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
if (s == NULL)
return NULL;
@@ -414,7 +414,7 @@ bc_config_get_list(bc_config_t *config, const char *section)
if (config == NULL)
return NULL;
- bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
+ const bc_configparser_section_t *s = bc_trie_lookup(config->root, section);
if (s == NULL)
return NULL;