From 6a8dfa5f26500b90aa9ecab418abba98d1e4e356 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 4 Jan 2010 20:22:12 -0800 Subject: upb_array -> upb_arrayptr. --- src/upb_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_text.c') 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); -- cgit v1.2.3