aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.c b/common/util.c
index 33a0c77e..3fa0c03f 100644
--- a/common/util.c
+++ b/common/util.c
@@ -123,7 +123,7 @@ uint32_t parse_color(const char *color) {
return res;
}
-bool parse_boolean(const char *boolean, const bool current) {
+bool parse_boolean(const char *boolean, bool current) {
if (strcmp(boolean, "1") == 0
|| strcmp(boolean, "yes") == 0
|| strcmp(boolean, "on") == 0