summaryrefslogtreecommitdiff
path: root/src/upb_text.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-01-04 20:22:12 -0800
committerJoshua Haberman <joshua@reverberate.org>2010-01-04 20:22:12 -0800
commit6a8dfa5f26500b90aa9ecab418abba98d1e4e356 (patch)
tree0b1997d1107d010228552d0d4cafb229941f5125 /src/upb_text.c
parent8f2aeb808408c2687f7801f2f210a7b90ef25f12 (diff)
upb_array -> upb_arrayptr.
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