diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-12-05 18:06:50 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-12-05 18:06:50 -0800 |
commit | 651c92ab33187b34d7878ac57427bbbc062662fa (patch) | |
tree | 1049aebdaf255ddd344237fb972ac8d39fa7d353 /src/upb_text.c | |
parent | 18291eedc3cb6bf4386698620ad9d02ad367126a (diff) |
Scheme for collecting circular refs.
"make descriptorgen" is now valgrind-clean again.
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 1631016..103468c 100644 --- a/src/upb_text.c +++ b/src/upb_text.c @@ -90,7 +90,7 @@ static void printmsg(struct upb_text_printer *printer, struct upb_msg *msg, FILE *stream) { struct upb_msgdef *m = msg->def; - for(uint32_t i = 0; i < m->num_fields; i++) { + for(upb_field_count_t i = 0; i < m->num_fields; i++) { struct upb_fielddef *f = &m->fields[i]; if(!upb_msg_isset(msg, f)) continue; union upb_value_ptr p = upb_msg_getptr(msg, f); |