summaryrefslogtreecommitdiff
path: root/ext/spl/spl_iterators.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/spl_iterators.h')
-rw-r--r--ext/spl/spl_iterators.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/spl/spl_iterators.h b/ext/spl/spl_iterators.h
index f51fc3a990..91d9895e98 100644
--- a/ext/spl/spl_iterators.h
+++ b/ext/spl/spl_iterators.h
@@ -139,11 +139,11 @@ typedef struct _spl_dual_it_object {
dual_it_type dit_type;
union {
struct {
- long offset;
- long count;
+ zend_long offset;
+ zend_long count;
} limit;
struct {
- long flags; /* CIT_* */
+ zend_long flags; /* CIT_* */
zval zstr;
zval zchildren;
zval zcache;
@@ -154,12 +154,12 @@ typedef struct _spl_dual_it_object {
} append;
#if HAVE_PCRE || HAVE_BUNDLED_PCRE
struct {
- int use_flags;
- long flags;
- regex_mode mode;
- long preg_flags;
+ zend_long flags;
+ zend_long preg_flags;
pcre_cache_entry *pce;
zend_string *regex;
+ regex_mode mode;
+ int use_flags;
} regex;
#endif
_spl_cbfilter_it_intern *cbfilter;