summaryrefslogtreecommitdiff
path: root/upb_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb_context.h')
-rw-r--r--upb_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb_context.h b/upb_context.h
index e15b4b8..cd62e30 100644
--- a/upb_context.h
+++ b/upb_context.h
@@ -70,8 +70,8 @@ INLINE struct upb_symtab_entry *upb_context_symbegin(struct upb_context *c) {
}
INLINE struct upb_symtab_entry *upb_context_symnext(
- struct upb_context *c, struct upb_inttable_entry *cur) {
- return upb_strtable_next(&c->symtab, cur);
+ struct upb_context *c, struct upb_symtab_entry *cur) {
+ return upb_strtable_next(&c->symtab, &cur->e);
}
/* Adding symbols. ************************************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback