diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-04-09 11:35:02 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-04-09 11:35:02 +0000 |
| commit | 1f264b165da86ca8206cd40a7eb569b9283996db (patch) | |
| tree | 116247312fa5d15ba47d3e052151fa33b88b1adf | |
| parent | keymap: remove trailing whitespaces (diff) | |
config: use an unsigned constant, since we're shifting 31 bits
| -rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
