aboutsummaryrefslogtreecommitdiff
path: root/src/ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ini.c')
-rw-r--r--src/ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini.c b/src/ini.c
index 2d2eb57..decd29f 100644
--- a/src/ini.c
+++ b/src/ini.c
@@ -16,7 +16,7 @@ void ini_section_init(struct INIFILE **ini) {
(*ini)->section = calloc((*ini)->section_count + 1, sizeof(**(*ini)->section));
}
-struct INISection *ini_section_search(struct INIFILE **ini, unsigned mode, char *value) {
+struct INISection *ini_section_search(struct INIFILE **ini, unsigned mode, const char *value) {
struct INISection *result = NULL;
for (size_t i = 0; i < (*ini)->section_count; i++) {
if ((*ini)->section[i]->key != NULL) {