From f154478caf5e0be15513405914b072c3d9d7c3fc Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Fri, 6 Dec 2019 14:32:19 +0100 Subject: [PATCH] Fix building by explicitly casting const out in config.c --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 129d10f..b2d8bc4 100644 --- a/src/config.c +++ b/src/config.c @@ -206,7 +206,7 @@ void config_load(const char *cfg_path) config.sections = sections; config.sections_len = sections_len; - configator(&config, cfg_path); + configator(&config, (char *) cfg_path); } void lang_defaults()