summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-18 16:00:30 +0000
committerAndi Gutmans <andi@php.net>2000-03-18 16:00:30 +0000
commit512ff32f87e51d08d335a6017c5e33948a53be3e (patch)
tree8c3b59189376212d323106b65dd22df61c3a1587
parentf5a77d04ffeb0c69761e1ac7ba7f00b6245df9e1 (diff)
downloadphp-git-512ff32f87e51d08d335a6017c5e33948a53be3e.tar.gz
- No reason for refcount to be signed and move to zend_* typedefs
-rw-r--r--Zend/zend.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 614d8614f7..2eb6b71428 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -117,6 +117,7 @@
typedef unsigned char zend_bool;
typedef unsigned char zend_uchar;
typedef unsigned int zend_uint;
+typedef unsigned short zend_ushort;
#undef SUCCESS
#undef FAILURE
@@ -155,9 +156,9 @@ typedef union _zvalue_value {
struct _zval_struct {
/* Variable information */
zvalue_value value; /* value */
- unsigned char type; /* active type */
- unsigned char is_ref;
- short refcount;
+ zend_uchar type; /* active type */
+ zend_uchar is_ref;
+ zend_ushort refcount;
};