diff options
Diffstat (limited to 'src/upb_text.c')
-rw-r--r-- | src/upb_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_text.c b/src/upb_text.c index 6d43152..bed4b43 100644 --- a/src/upb_text.c +++ b/src/upb_text.c @@ -99,7 +99,7 @@ static void printmsg(struct upb_text_printer *printer, struct upb_msg *msg, if(upb_isarray(f)) { struct upb_array *arr = *p.arr; for(uint32_t j = 0; j < arr->len; j++) { - union upb_value_ptr elem_p = upb_array_getelementptr(arr, j, f->type); + union upb_value_ptr elem_p = upb_array_getelementptr(arr, j); printval(printer, elem_p, f, fd, stream); } } else { |