mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[css] enum css_token_type -> unsigned int
This commit is contained in:
parent
9a02780b9d
commit
76f525bcb9
@ -126,7 +126,7 @@ scan_css_token(struct scanner *scanner, struct scanner_token *token)
|
|||||||
{
|
{
|
||||||
const char *string = scanner->position;
|
const char *string = scanner->position;
|
||||||
unsigned char first_char = *string;
|
unsigned char first_char = *string;
|
||||||
enum css_token_type type = CSS_TOKEN_GARBAGE;
|
/*enum css_token_type*/ unsigned int type = CSS_TOKEN_GARBAGE;
|
||||||
int real_length = -1;
|
int real_length = -1;
|
||||||
|
|
||||||
assert(first_char);
|
assert(first_char);
|
||||||
|
@ -129,7 +129,7 @@ scan_css_token(struct dom_scanner *scanner, struct dom_scanner_token *token)
|
|||||||
{
|
{
|
||||||
char *string = scanner->position;
|
char *string = scanner->position;
|
||||||
unsigned char first_char = *string;
|
unsigned char first_char = *string;
|
||||||
enum css_token_type type = CSS_TOKEN_GARBAGE;
|
/*enum css_token_type*/ unsigned int type = CSS_TOKEN_GARBAGE;
|
||||||
int real_length = -1;
|
int real_length = -1;
|
||||||
|
|
||||||
assert(first_char);
|
assert(first_char);
|
||||||
|
Loading…
Reference in New Issue
Block a user