summaryrefslogtreecommitdiff
path: root/upb/def.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-11-19 10:22:26 -0800
committerJoshua Haberman <jhaberman@gmail.com>2011-11-19 10:22:26 -0800
commit99ae0ed39723b9c8f97fbdde070681e2a8b7a20e (patch)
tree1d190d4c83547f5847ad9d26e4d74d444bc3bd5e /upb/def.h
parentd29339d126c50818b7f21d2581caadfeea946934 (diff)
Changes to get upb compiling inside Google.
Diffstat (limited to 'upb/def.h')
-rw-r--r--upb/def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/def.h b/upb/def.h
index ab84376..67e478b 100644
--- a/upb/def.h
+++ b/upb/def.h
@@ -277,7 +277,7 @@ bool upb_msgdef_setextrange(upb_msgdef *m, uint32_t start, uint32_t end);
// number must be set, and the message may not already contain any field with
// this name or number, and this fielddef may not be part of another message,
// otherwise false is returned and no action is performed.
-bool upb_msgdef_addfields(upb_msgdef *m, upb_fielddef **f, int n);
+bool upb_msgdef_addfields(upb_msgdef *m, upb_fielddef *const *f, int n);
INLINE bool upb_msgdef_addfield(upb_msgdef *m, upb_fielddef *f) {
return upb_msgdef_addfields(m, &f, 1);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback