Skip to content

Commit 6b73fcc

Browse files
authored
Convert ext/xml fields from int to bool (#12497)
1 parent 046d7f9 commit 6b73fcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/xml/xml.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ ZEND_DECLARE_MODULE_GLOBALS(xml)
6161
#define XML(v) ZEND_MODULE_GLOBALS_ACCESSOR(xml, v)
6262

6363
typedef struct {
64-
int case_folding;
6564
XML_Parser parser;
6665
XML_Char *target_encoding;
6766

@@ -88,10 +87,11 @@ typedef struct {
8887
int curtag;
8988
zval *ctag;
9089
char **ltags;
91-
int lastwasopen;
92-
int skipwhite;
93-
int isparsing;
90+
bool lastwasopen;
91+
bool skipwhite;
92+
bool isparsing;
9493
bool parsehuge;
94+
bool case_folding;
9595

9696
XML_Char *baseURI;
9797

0 commit comments

Comments
 (0)