1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-13 05:43:37 -04:00

[dom] enum -> unsgined int

This commit is contained in:
Witold Filipczyk 2022-01-27 18:07:52 +01:00
parent 587d9887b7
commit 5056e27c15
2 changed files with 4 additions and 4 deletions

View File

@ -19,12 +19,12 @@
/* Selector parsing: */
/* Maps the content of a scanner token to a pseudo-class or -element ID. */
static enum dom_select_pseudo
static /*enum dom_select_pseudo*/ unsigned int
get_dom_select_pseudo(struct dom_scanner_token *token)
{
static struct {
struct dom_string string;
enum dom_select_pseudo pseudo;
/*enum dom_select_pseudo*/ unsigned int pseudo;
} pseudo_info[] = {
#define INIT_DOM_SELECT_PSEUDO_STRING(str, type) \
@ -294,7 +294,7 @@ parse_dom_select_pseudo(struct dom_select *select, struct dom_select_node *sel,
struct dom_scanner *scanner)
{
struct dom_scanner_token *token = get_dom_scanner_token(scanner);
enum dom_select_pseudo pseudo;
/*enum dom_select_pseudo*/ unsigned int pseudo;
enum dom_code code;
/* Skip double :'s in front of some pseudo's (::first-line, etc.) */

View File

@ -187,7 +187,7 @@ enum dom_select_pseudo {
struct dom_select {
struct dom_select_node *selector;
unsigned long specificity;
enum dom_select_pseudo pseudo;
/*enum dom_select_pseudo*/ unsigned int pseudo;
};
enum dom_select_syntax {