diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-27 11:10:13 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-27 11:10:13 -0700 |
commit | f17ed90f7704d77e3eb59a6f6b693ab4c598936a (patch) | |
tree | 48c0b69db3984577d77219eb861783b6bed16d24 /src/upb_text.c | |
parent | b276aa78b6d04a35420ce699ae51771550b97d11 (diff) |
Some cleanup and reformatting, fixed the benchmarks.
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 { |