From abfc897b50532e5ed64f7f5497f80ef56abd3b26 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 24 Feb 2011 00:09:27 -0800 Subject: Pass the upb_fielddef* to the endmsg callback. --- src/upb_textprinter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/upb_textprinter.c') diff --git a/src/upb_textprinter.c b/src/upb_textprinter.c index 894a1ea..c0fb944 100644 --- a/src/upb_textprinter.c +++ b/src/upb_textprinter.c @@ -107,8 +107,9 @@ err: return UPB_BREAK; } -static upb_flow_t upb_textprinter_endsubmsg(void *_p) +static upb_flow_t upb_textprinter_endsubmsg(void *_p, upb_fielddef *f) { + (void)f; upb_textprinter *p = _p; p->indent_depth--; upb_textprinter_indent(p); -- cgit v1.2.3