aboutsummaryrefslogtreecommitdiff
path: root/src/rewrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rewrite.c')
-rw-r--r--src/rewrite.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rewrite.c b/src/rewrite.c
index e3cea01..c5a497a 100644
--- a/src/rewrite.c
+++ b/src/rewrite.c
@@ -36,7 +36,9 @@ static int rewrite_type_visit(struct ast *node, struct type_helper *helper)
int rewrite_types(struct ast *node, char *orig, char *new)
{
struct type_helper helper = {.orig = orig, .new = new};
- return ast_visit((ast_callback_t)rewrite_type_visit, NULL, node, &helper);
+ return ast_visit((ast_callback_t)rewrite_type_visit, NULL, node,
+ &helper
+ );
}
/* not the fastest thing in the world but should work well enough for now */