]> granicus.if.org Git - php/commitdiff
- Change type from int -> char
authorAndi Gutmans <andi@php.net>
Mon, 13 Mar 2000 15:11:07 +0000 (15:11 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 13 Mar 2000 15:11:07 +0000 (15:11 +0000)
Zend/zend_compile.h

index 9c6fd27612ad7b6fc688e33bcc21574dc723eca2..af5673999bd7c02631618506291192aa458dcb4b 100644 (file)
@@ -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;