config: use an unsigned constant, since we're shifting 31 bits

This commit is contained in:
Daniel Eklöf 2020-04-09 13:35:02 +02:00
parent 7a82bcf7a5
commit 1f264b165d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}