From 5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 3 Apr 2011 21:30:15 -0400 Subject: Don't use awkward (*fptr)() syntax. --- dimension/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dimension/parse.c') diff --git a/dimension/parse.c b/dimension/parse.c index 198a4b8..99cda05 100644 --- a/dimension/parse.c +++ b/dimension/parse.c @@ -65,7 +65,7 @@ void dmnsn_pop_scope(dmnsn_symbol_table *symtable) { dmnsn_dictionary *scope; dmnsn_array_pop(symtable, &scope); - dmnsn_dictionary_apply(scope, &dmnsn_delete_symbol_table_entry); + dmnsn_dictionary_apply(scope, dmnsn_delete_symbol_table_entry); dmnsn_delete_dictionary(scope); } @@ -274,7 +274,7 @@ dmnsn_delete_astnode(dmnsn_astnode astnode) if (*astnode.refcount <= 1) { dmnsn_delete_astree(astnode.children); if (astnode.free_fn) { - (*astnode.free_fn)(astnode.ptr); + astnode.free_fn(astnode.ptr); } else { dmnsn_free(astnode.ptr); } -- cgit v1.2.3