summaryrefslogtreecommitdiff
path: root/upb_context.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-07 19:51:53 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-07 19:51:53 -0700
commitb2bbafb67457835c4cf9061610ea9549740669c2 (patch)
treefaac999c7dc86737c97d585c7826ae6c5799da90 /upb_context.h
parentd7b666ecf47f7f5269ad5b7f826bca98f7350746 (diff)
Header file changes for C++ compatibility.
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 ffff214..4ddaed6 100644
--- a/upb_context.h
+++ b/upb_context.h
@@ -73,12 +73,12 @@ struct upb_symtab_entry *upb_context_lookup(struct upb_context *c,
struct upb_string *symbol);
INLINE struct upb_symtab_entry *upb_context_symbegin(struct upb_context *c) {
- return upb_strtable_begin(&c->symtab);
+ return (struct upb_symtab_entry*)upb_strtable_begin(&c->symtab);
}
INLINE struct upb_symtab_entry *upb_context_symnext(
struct upb_context *c, struct upb_symtab_entry *cur) {
- return upb_strtable_next(&c->symtab, &cur->e);
+ return (struct upb_symtab_entry*)upb_strtable_next(&c->symtab, &cur->e);
}
/* Adding symbols. ************************************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback