summaryrefslogtreecommitdiff
path: root/src/upb_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_msg.h')
-rw-r--r--src/upb_msg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/upb_msg.h b/src/upb_msg.h
index b93037b..af328e3 100644
--- a/src/upb_msg.h
+++ b/src/upb_msg.h
@@ -148,7 +148,7 @@ typedef struct {
void upb_msgvisitor_init(upb_msgvisitor *v, upb_msgdef *md, upb_handlers *h);
void upb_msgvisitor_uninit(upb_msgvisitor *v);
-void upb_msgvisitor_reset(upb_msgvisitor *v, upb_msg *m);
+void upb_msgvisitor_reset(upb_msgvisitor *v, void *m);
void upb_msgvisitor_visit(upb_msgvisitor *v, upb_status *status);
@@ -183,8 +183,8 @@ upb_flow_t upb_stdmsg_setbool(void *c, upb_value fval, upb_value val);
// if necessary.
typedef struct {
char *ptr;
- int32_t len; // Number of elements present.
- int32_t size; // Number of elements allocated.
+ uint32_t len; // Number of elements present.
+ uint32_t size; // Number of elements allocated.
} upb_stdarray;
upb_flow_t upb_stdmsg_setint64_r(void *c, upb_value fval, upb_value val);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback