From 6b73fcc2b3cfaa134c5c779d0cd39a513bb86b14 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 22 Oct 2023 21:11:16 +0100 Subject: [PATCH] Convert ext/xml fields from int to bool (#12497) --- ext/xml/xml.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 636aa4392aac8..f6b4d8c5008ed 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -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; @@ -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;