mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: use an unsigned constant, since we're shifting 31 bits
This commit is contained in:
parent
7a82bcf7a5
commit
1f264b165d
1 changed files with 2 additions and 2 deletions
4
config.c
4
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue