aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-09 11:35:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-09 11:35:02 +0000
commit1f264b165da86ca8206cd40a7eb569b9283996db (patch)
tree116247312fa5d15ba47d3e052151fa33b88b1adf
parentkeymap: remove trailing whitespaces (diff)
config: use an unsigned constant, since we're shifting 31 bits
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index a97b8a38..d3bdb365 100644
--- a/config.c
+++ b/config.c
@@ -380,8 +380,8 @@ parse_section_cursor(const char *key, const char *value, struct config *conf,
return false;
}
- conf->cursor.color.text = 1 << 31 | text_color;
- conf->cursor.color.cursor = 1 << 31 | cursor_color;
+ conf->cursor.color.text = 1u << 31 | text_color;
+ conf->cursor.color.cursor = 1u << 31 | cursor_color;
free(value_copy);
}