Skip to content

Commit

Permalink
Convert ext/xml fields from int to bool (#12497)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos authored Oct 22, 2023
1 parent 046d7f9 commit 6b73fcc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/xml/xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ ZEND_DECLARE_MODULE_GLOBALS(xml)
#define XML(v) ZEND_MODULE_GLOBALS_ACCESSOR(xml, v)

typedef struct {
int case_folding;
XML_Parser parser;
XML_Char *target_encoding;

Expand All @@ -88,10 +87,11 @@ typedef struct {
int curtag;
zval *ctag;
char **ltags;
int lastwasopen;
int skipwhite;
int isparsing;
bool lastwasopen;
bool skipwhite;
bool isparsing;
bool parsehuge;
bool case_folding;

XML_Char *baseURI;

Expand Down

0 comments on commit 6b73fcc

Please sign in to comment.