diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-11-15 13:44:09 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-11-15 13:44:09 +0000 |
| commit | 421cab2d4f1984e554ef19bac545e356adcf1230 (patch) | |
| tree | ebc71f5a364103a4029b3539d1ba72e66f639d2d /src/libcroco/cr-parser.c | |
| parent | Make C++ - compilable. Mostly remove pointer casting problems. Fix a few pla... (diff) | |
| download | inkscape-421cab2d4f1984e554ef19bac545e356adcf1230.tar.gz inkscape-421cab2d4f1984e554ef19bac545e356adcf1230.zip | |
More compile error cleanup
(bzr r1955)
Diffstat (limited to 'src/libcroco/cr-parser.c')
| -rw-r--r-- | src/libcroco/cr-parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcroco/cr-parser.c b/src/libcroco/cr-parser.c index 2b411a8d4..5b0a56f32 100644 --- a/src/libcroco/cr-parser.c +++ b/src/libcroco/cr-parser.c @@ -1675,14 +1675,14 @@ cr_parser_parse_simple_selector (CRParser * a_this, CRSimpleSel ** a_sel) 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; @@ -1961,7 +1961,7 @@ cr_parser_parse_simple_sels (CRParser * a_this, break; if (comb && sel) { - sel->combinator = (Combinator)comb; + sel->combinator = (enum Combinator)comb; comb = 0; } if (sel) { |
