index 2b411a8d48283ca0e067df2e19781290c9ab41b7..5b0a56f32eb4b5fae0aa4aa9780336a267e9965f 100644 (file)
--- a/src/libcroco/cr-parser.c
+++ b/src/libcroco/cr-parser.c
if (token && token->type == DELIM_TK
&& token->u.unichar == '*') {
int comb = (int)sel->type_mask | (int) UNIVERSAL_SELECTOR;
- sel->type_mask = (SimpleSelectorType)comb;
+ sel->type_mask = (enum SimpleSelectorType)comb;
//sel->type_mask |= UNIVERSAL_SELECTOR;
sel->name = cr_string_new_from_string ("*");
found_sel = TRUE;
} else if (token && token->type == IDENT_TK) {
sel->name = token->u.str;
int comb = (int)sel->type_mask | (int) TYPE_SELECTOR;
- sel->type_mask = (SimpleSelectorType)comb;
+ sel->type_mask = (enum SimpleSelectorType)comb;
//sel->type_mask |= TYPE_SELECTOR;
token->u.str = NULL;
found_sel = TRUE;
break;
if (comb && sel) {
- sel->combinator = (Combinator)comb;
+ sel->combinator = (enum Combinator)comb;
comb = 0;
}
if (sel) {