From f17ed90f7704d77e3eb59a6f6b693ab4c598936a Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 27 Aug 2009 11:10:13 -0700 Subject: Some cleanup and reformatting, fixed the benchmarks. --- 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 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 { -- cgit v1.2.3