From aa91728a082cde784e01078944dc39e6df0877fa Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Jan 2021 23:43:59 -0800 Subject: Replaced (void*) with (match_t*) in struct def --- grammar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar.c') diff --git a/grammar.c b/grammar.c index aa75522..5284225 100644 --- a/grammar.c +++ b/grammar.c @@ -94,7 +94,7 @@ void push_backref(grammar_t *g, const char *name, match_t *capture) op->start = capture->start; op->end = capture->end; op->len = -1; // TODO: maybe calculate this? - op->args.backref = (void*)capture; + op->args.backref = capture; g->backrefs[i].op = op; } -- cgit v1.2.3