summaryrefslogtreecommitdiff
path: root/src/upb_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_msg.c')
-rw-r--r--src/upb_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_msg.c b/src/upb_msg.c
index b5879d1..dd6b72e 100644
--- a/src/upb_msg.c
+++ b/src/upb_msg.c
@@ -401,7 +401,7 @@ bool upb_msg_eql(struct upb_msg *msg1, struct upb_msg *msg2, bool recursive)
* contain only primitive values (not strings, arrays, submessages, or
* padding) and memcmp the masked messages. */
- 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];
bool msg1set = upb_msg_isset(msg1, f);
bool msg2set = upb_msg_isset(msg2, f);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback