summaryrefslogtreecommitdiffstats
path: root/libdimension/dictionary.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
commit5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch)
tree2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/dictionary.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/dictionary.c')
-rw-r--r--libdimension/dictionary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dictionary.c b/libdimension/dictionary.c
index 9bae74e..83efe1d 100644
--- a/libdimension/dictionary.c
+++ b/libdimension/dictionary.c
@@ -225,7 +225,7 @@ void
dmnsn_dictionary_apply(dmnsn_dictionary *dict, dmnsn_callback_fn *callback)
{
if (dict->value) {
- (*callback)(dict->value);
+ callback(dict->value);
}
DMNSN_ARRAY_FOREACH (dmnsn_dictionary **, subtrie, dict->children) {