mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[dom] cast
This commit is contained in:
parent
d1cc8300a5
commit
29c658c63f
@ -441,7 +441,7 @@ parse_dom_select(struct dom_select *select, struct dom_stack *stack,
|
|||||||
|
|
||||||
sel.node.type = DOM_NODE_ATTRIBUTE;
|
sel.node.type = DOM_NODE_ATTRIBUTE;
|
||||||
sel.match.attribute |= DOM_SELECT_ATTRIBUTE_SPACE_LIST;
|
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);
|
copy_dom_string(&sel.node.data.attribute.value, &token->string);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user