1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[dom] enum -> unsigned int

This commit is contained in:
Witold Filipczyk 2022-01-26 19:16:32 +01:00
parent 2bb62d3a58
commit 587d9887b7
2 changed files with 3 additions and 3 deletions

View File

@ -779,7 +779,7 @@ match_element_relation(struct dom_select_node *selector, struct dom_node *node,
struct dom_stack *stack)
{
struct dom_stack_state *state;
enum dom_select_element_match relation = get_element_relation(selector);
/*enum dom_select_element_match*/ unsigned int relation = get_element_relation(selector);
int i, index;
assert(relation);

View File

@ -119,8 +119,8 @@ struct dom_select_node {
/* Flags, specifying how the matching should be done. */
union {
enum dom_select_element_match element;
enum dom_select_attribute_match attribute;
/* enum dom_select_element_match*/ unsigned int element;
/*enum dom_select_attribute_match*/ unsigned int attribute;
enum dom_select_text_match text;
} match;
};