summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r--libdimension/dimension/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h
index 159cd36..51830e7 100644
--- a/libdimension/dimension/array.h
+++ b/libdimension/dimension/array.h
@@ -236,7 +236,7 @@ dmnsn_array_apply(dmnsn_array *array, dmnsn_callback_fn *callback)
{
char *i, *last = (char *)dmnsn_array_last(array);
for (i = (char *)dmnsn_array_first(array); i <= last; i += array->obj_size) {
- (*callback)((void *)i);
+ callback((void *)i);
}
}