diff --git a/src/dom/sgml/parser.c b/src/dom/sgml/parser.c index ca21e063d..67a7e8a18 100644 --- a/src/dom/sgml/parser.c +++ b/src/dom/sgml/parser.c @@ -681,7 +681,7 @@ static struct dom_stack_context_info sgml_parser_context_info = { struct sgml_parser * init_sgml_parser(enum sgml_parser_type type, enum sgml_document_type doctype, - struct dom_string *uri, enum sgml_parser_flag flags) + struct dom_string *uri, /*enum sgml_parser_flag*/ unsigned int flags) { struct sgml_parser *parser; enum dom_stack_flag stack_flags = 0; diff --git a/src/dom/sgml/parser.h b/src/dom/sgml/parser.h index 5b692b56f..7a37038ff 100644 --- a/src/dom/sgml/parser.h +++ b/src/dom/sgml/parser.h @@ -83,7 +83,7 @@ typedef enum dom_code */ struct sgml_parser { enum sgml_parser_type type; /**< Stream or tree */ - enum sgml_parser_flag flags; /**< Flags that control the behaviour */ + /*enum sgml_parser_flag*/ unsigned int flags; /**< Flags that control the behaviour */ struct sgml_info *info; /**< Backend dependent info */ @@ -112,7 +112,7 @@ struct sgml_parser { */ struct sgml_parser * init_sgml_parser(enum sgml_parser_type type, enum sgml_document_type doctype, - struct dom_string *uri, enum sgml_parser_flag flags); + struct dom_string *uri, /*enum sgml_parser_flag*/ unsigned int flags); /** Release an SGML parser *