diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2018-03-06 13:30:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 13:30:03 -0800 |
commit | 0f4ad85740e891cdf42f54cee587371bf9b2132f (patch) | |
tree | fd6dce716a92972c50a982cf0059bee4f92789c9 /php/ext/google/protobuf/upb.h | |
parent | 55d07586e9909d998e555fe3ef0aee0fcc8f185a (diff) | |
download | protobuf-0f4ad85740e891cdf42f54cee587371bf9b2132f.tar.gz protobuf-0f4ad85740e891cdf42f54cee587371bf9b2132f.tar.bz2 protobuf-0f4ad85740e891cdf42f54cee587371bf9b2132f.zip |
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.h | 2 |
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; |