diff --git a/config.c b/config.c index 63d62ea3..eb72d99c 100644 --- a/config.c +++ b/config.c @@ -603,7 +603,7 @@ parse_section_main(const char *key, const char *value, struct config *conf, } else if (strcmp(key, "selection-target") == 0) { - static const char *const values[] = { + static const char values[][12] = { [SELECTION_TARGET_NONE] = "none", [SELECTION_TARGET_PRIMARY] = "primary", [SELECTION_TARGET_CLIPBOARD] = "clipboard",