summaryrefslogtreecommitdiff
path: root/src/upb_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_text.c')
-rw-r--r--src/upb_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_text.c b/src/upb_text.c
index 225b344..3981715 100644
--- a/src/upb_text.c
+++ b/src/upb_text.c
@@ -92,7 +92,7 @@ static void printmsg(struct upb_text_printer *printer,
if(!upb_msg_has(msg, f)) continue;
union upb_value v = upb_msg_get(msg, f);
if(upb_isarray(f)) {
- upb_array *arr = v.arr;
+ upb_arrayptr arr = v.arr;
for(uint32_t j = 0; j < upb_array_len(arr); j++) {
union upb_value elem = upb_array_get(arr, f, j);
printval(printer, elem, f, stream);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback