decos: verify: all integer options are supposed to be unsigned

This commit is contained in:
Daniel Eklöf 2021-11-15 18:17:12 +01:00
parent 23f12a65b2
commit b6931c6ed0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ verify_conf(keychain_t *chain, const struct yml_node *node)
{
static const struct attr_info attrs[] = {
{"color", true, &conf_verify_color},
{"size", false, &conf_verify_int},
{"size", false, &conf_verify_unsigned},
DECORATION_COMMON_ATTRS,
};

View file

@ -54,7 +54,7 @@ static bool
verify_conf(keychain_t *chain, const struct yml_node *node)
{
static const struct attr_info attrs[] = {
{"size", true, &conf_verify_int},
{"size", true, &conf_verify_unsigned},
{"color", true, &conf_verify_color},
DECORATION_COMMON_ATTRS,
};