From: Andi Gutmans Date: Mon, 13 Mar 2000 15:11:07 +0000 (+0000) Subject: - Change type from int -> char X-Git-Tag: PHP-4.0-RC1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=712ffd4c14ad9594be6427be492eac0e56283dd3;p=php - Change type from int -> char --- diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 9c6fd27612..af5673999b 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -89,7 +89,7 @@ typedef struct _zend_brk_cont_element { struct _zend_op_array { - int type; /* MUST be the first element of this struct! */ + unsigned char type; /* MUST be the first element of this struct! */ unsigned char *arg_types; /* MUST be the second element of this struct! */ char *function_name; /* MUST be the third element of this struct! */ @@ -122,7 +122,7 @@ struct _zend_op_array { typedef struct _zend_internal_function { - int type; /* MUST be the first element of this struct! */ + unsigned char type; /* MUST be the first element of this struct! */ unsigned char *arg_types; /* MUST be the second element of this struct */ char *function_name; /* MUST be the third element of this struct */ @@ -132,9 +132,9 @@ typedef struct _zend_internal_function { typedef union _zend_function { - int type; /* MUST be the first element of this struct! */ + unsigned char type; /* MUST be the first element of this struct! */ struct { - int type; /* never used */ + unsigned char type; /* never used */ unsigned char *arg_types; char *function_name; } common;