From: Andi Gutmans Date: Sat, 18 Mar 2000 16:00:30 +0000 (+0000) Subject: - No reason for refcount to be signed and move to zend_* typedefs X-Git-Tag: PHP-4.0-RC1~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=512ff32f87e51d08d335a6017c5e33948a53be3e;p=php - No reason for refcount to be signed and move to zend_* typedefs --- 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; };