summaryrefslogtreecommitdiff
path: root/src/upb_def.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_def.c')
-rw-r--r--src/upb_def.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_def.c b/src/upb_def.c
index 01143da..6a1e543 100644
--- a/src/upb_def.c
+++ b/src/upb_def.c
@@ -615,7 +615,7 @@ static upb_flow_t upb_fielddef_endmsg(void *_b) {
// Field was successfully read, add it as a field of the msgdef.
upb_msgdef *m = upb_defbuilder_top(b);
- upb_itof_ent itof_ent = {0, upb_types[f->type].native_wire_type, f->type, f};
+ upb_itof_ent itof_ent = {0, f->type, upb_types[f->type].native_wire_type, f};
upb_ntof_ent ntof_ent = {{f->name, 0}, f};
upb_inttable_insert(&m->itof, f->number, &itof_ent);
upb_strtable_insert(&m->ntof, &ntof_ent.e);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback