summaryrefslogtreecommitdiff
path: root/ext/spl/spl_iterators.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-17 13:31:39 +0200
committerAnatol Belski <ab@php.net>2014-08-17 13:31:39 +0200
commit90d6f60bc17bb4fea69feeab506eb02bfeec20fd (patch)
treef759964466d23656e796bd79964a424464655ee2 /ext/spl/spl_iterators.h
parent977cf1dc11da0363692374951088696855ae293d (diff)
downloadphp-git-90d6f60bc17bb4fea69feeab506eb02bfeec20fd.tar.gz
mostly fixes to spl, but also some other
Diffstat (limited to 'ext/spl/spl_iterators.h')
-rw-r--r--ext/spl/spl_iterators.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/spl_iterators.h b/ext/spl/spl_iterators.h
index f51fc3a990..851436350b 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;
+ php_int_t offset;
+ php_int_t count;
} limit;
struct {
- long flags; /* CIT_* */
+ php_int_t flags; /* CIT_* */
zval zstr;
zval zchildren;
zval zcache;
@@ -155,9 +155,9 @@ typedef struct _spl_dual_it_object {
#if HAVE_PCRE || HAVE_BUNDLED_PCRE
struct {
int use_flags;
- long flags;
+ php_int_t flags;
regex_mode mode;
- long preg_flags;
+ php_int_t preg_flags;
pcre_cache_entry *pce;
zend_string *regex;
} regex;