aboutsummaryrefslogtreecommitdiff
path: root/src/configuration.c
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-05-28 20:01:57 +0200
committeraxtloss <axtlos@getcryst.al>2024-05-28 20:01:57 +0200
commitff0328765c04614701bbfe793bb228cd63f1b2fc (patch)
treeeaec361a71a2cb4d09e178e9574c260f5da58417 /src/configuration.c
parent85e5469362db3c3fb89f7dc3fbe1eb1431fb2fcc (diff)
downloadautodarkmode-ff0328765c04614701bbfe793bb228cd63f1b2fc.tar.gz
autodarkmode-ff0328765c04614701bbfe793bb228cd63f1b2fc.tar.bz2
add readme and fix some warnings
Diffstat (limited to '')
-rw-r--r--src/configuration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.c b/src/configuration.c
index 6196e26..7d978f6 100644
--- a/src/configuration.c
+++ b/src/configuration.c
@@ -63,7 +63,7 @@ config_get_location_type(dictionary *d)
if (d == NULL)
return GCLUE;
- char *loctype = iniparser_getstring (d, "main:locationtype", "gclue");
+ const char *loctype = iniparser_getstring (d, "main:locationtype", "gclue");
if (strcmp(strlwr(loctype), "gclue") == 0) {
return GCLUE;