summaryrefslogtreecommitdiff
path: root/upb/generated_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/generated_util.h')
-rw-r--r--upb/generated_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/generated_util.h b/upb/generated_util.h
index 314a6d5..a0b3e8d 100644
--- a/upb/generated_util.h
+++ b/upb/generated_util.h
@@ -46,7 +46,7 @@ UPB_INLINE void *_upb_array_resize_accessor(void *msg, size_t ofs, size_t size,
upb_array *arr = *PTR_AT(msg, ofs, upb_array*);
if (!arr) {
- arr = upb_array_new(type, arena);
+ arr = upb_array_new(arena);
if (!arr) return NULL;
*PTR_AT(msg, ofs, upb_array*) = arr;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback