diff options
Diffstat (limited to 'Zend/zend.h')
| -rw-r--r-- | Zend/zend.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index d83538783c..4b8491186c 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -125,9 +125,7 @@ struct _zval_struct { /* Variable information */ zvalue_value value; /* value */ unsigned char type; /* active type */ - struct { - unsigned int is_ref:1; - } EA; + unsigned char is_ref; short refcount; }; @@ -267,7 +265,7 @@ extern zend_utility_values zend_uv; #define INIT_PZVAL(z) \ (z)->refcount = 1; \ - (z)->EA.is_ref = 0; + (z)->is_ref = 0; #define MAKE_STD_ZVAL(zv) \ zv = (zval *) emalloc(sizeof(zval)); \ @@ -283,7 +281,7 @@ extern zend_utility_values zend_uv; **(ppzv) = *orig_ptr; \ zval_copy_ctor(*(ppzv)); \ (*(ppzv))->refcount=1; \ - (*(ppzv))->EA.is_ref = 0; \ + (*(ppzv))->is_ref = 0; \ } \ } |
