1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[dom] cast

This commit is contained in:
Witold Filipczyk 2022-01-31 16:02:30 +01:00
parent d1cc8300a5
commit 29c658c63f

View File

@ -441,7 +441,7 @@ parse_dom_select(struct dom_select *select, struct dom_stack *stack,
sel.node.type = DOM_NODE_ATTRIBUTE;
sel.match.attribute |= DOM_SELECT_ATTRIBUTE_SPACE_LIST;
set_dom_string(&sel.node.string, "class", -1);
set_dom_string(&sel.node.string, (char *)"class", -1);
copy_dom_string(&sel.node.data.attribute.value, &token->string);
break;