mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[dom] cast to short int
This commit is contained in:
parent
6d5913b55f
commit
b80acc0af2
@ -31,7 +31,7 @@ static inline void
|
|||||||
init_template(struct screen_char *template_, struct document_options *options,
|
init_template(struct screen_char *template_, struct document_options *options,
|
||||||
screen_char_attr_T attr, color_T foreground, color_T background)
|
screen_char_attr_T attr, color_T foreground, color_T background)
|
||||||
{
|
{
|
||||||
struct text_style style = INIT_TEXT_STYLE((int)attr, foreground, background);
|
struct text_style style = INIT_TEXT_STYLE((short int)attr, foreground, background);
|
||||||
|
|
||||||
get_screen_char_template(template_, options, style);
|
get_screen_char_template(template_, options, style);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user