summaryrefslogtreecommitdiffstats
path: root/libdimension/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/array.c')
-rw-r--r--libdimension/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/array.c b/libdimension/array.c
index 97ce716..e6e4363 100644
--- a/libdimension/array.c
+++ b/libdimension/array.c
@@ -24,7 +24,7 @@
dmnsn_array *
dmnsn_new_array(size_t obj_size)
{
- dmnsn_array *array = malloc(sizeof(array));
+ dmnsn_array *array = malloc(sizeof(dmnsn_array));
if (array) {
array->obj_size = obj_size;
array->length = 0;