mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[dom] enum -> unsgined int
This commit is contained in:
parent
587d9887b7
commit
5056e27c15
@ -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.) */
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user