summaryrefslogtreecommitdiff
path: root/src/upb_text.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-12-05 18:06:50 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-12-05 18:06:50 -0800
commit651c92ab33187b34d7878ac57427bbbc062662fa (patch)
tree1049aebdaf255ddd344237fb972ac8d39fa7d353 /src/upb_text.c
parent18291eedc3cb6bf4386698620ad9d02ad367126a (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.c2
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback