Skip to content

Commit 9404411

Browse files
committed
ext/dom: Fix new MSVC compiler warning
Closes GH-18889
1 parent 0ee73cc commit 9404411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/dom/html_document.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ static bool dom_parse_decode_encode_finish(
752752

753753
static bool check_options_validity(uint32_t arg_num, zend_long options)
754754
{
755-
const zend_long VALID_OPTIONS = XML_PARSE_NOERROR | XML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
755+
const zend_long VALID_OPTIONS = HTML_PARSE_NOERROR | HTML_PARSE_COMPACT | HTML_PARSE_NOIMPLIED | DOM_HTML_NO_DEFAULT_NS;
756756
if ((options & ~VALID_OPTIONS) != 0) {
757757
zend_argument_value_error(arg_num, "contains invalid flags (allowed flags: "
758758
"LIBXML_NOERROR, "

0 commit comments

Comments
 (0)