From cafebf6beede670a10535809667ac9b9f3033091 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 6 Mar 2018 23:59:58 +0000 Subject: For encoding upb needs descriptor type instead of type. --- upb/msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/msg.h') diff --git a/upb/msg.h b/upb/msg.h index 3579a3f..e875f6e 100644 --- a/upb/msg.h +++ b/upb/msg.h @@ -396,7 +396,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; -- cgit v1.2.3