aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext/google/protobuf/upb.h
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2018-03-06 13:30:03 -0800
committerGravatar GitHub <noreply@github.com>2018-03-06 13:30:03 -0800
commit0f4ad85740e891cdf42f54cee587371bf9b2132f (patch)
treefd6dce716a92972c50a982cf0059bee4f92789c9 /php/ext/google/protobuf/upb.h
parent55d07586e9909d998e555fe3ef0aee0fcc8f185a (diff)
For encoding upb needs descriptor type instead of type. (#4354)
Diffstat (limited to 'php/ext/google/protobuf/upb.h')
-rw-r--r--php/ext/google/protobuf/upb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/ext/google/protobuf/upb.h b/php/ext/google/protobuf/upb.h
index 10371e8b..9517f3f0 100644
--- a/php/ext/google/protobuf/upb.h
+++ b/php/ext/google/protobuf/upb.h
@@ -6747,7 +6747,7 @@ typedef struct {
uint16_t hasbit; /* UPB_NO_HASBIT if no hasbit. */
uint16_t oneof_index; /* UPB_NOT_IN_ONEOF if not in a oneof. */
uint16_t submsg_index; /* UPB_NO_SUBMSG if no submsg. */
- uint8_t type;
+ uint8_t descriptortype;
uint8_t label;
} upb_msglayout_fieldinit_v1;