summaryrefslogtreecommitdiff
path: root/core/upb_def.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/upb_def.c')
-rw-r--r--core/upb_def.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb_def.c b/core/upb_def.c
index c21843e..2eda89f 100644
--- a/core/upb_def.c
+++ b/core/upb_def.c
@@ -717,7 +717,7 @@ static upb_flow_t upb_msgdef_endmsg(void *_b) {
size_t max_align = 0;
for (int i = 0; i < n; i++) {
upb_fielddef *f = sorted_fields[i];
- upb_type_info *type_info = &upb_types[f->type];
+ const upb_type_info *type_info = &upb_types[f->type];
// This identifies the set bit. When we implement is_initialized (a
// general check about whether all required bits are set) we will probably
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback