summaryrefslogtreecommitdiffstats
path: root/libdimension/bench/prtree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-31 12:32:24 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-31 12:32:24 -0400
commitc9c85a530402541518dd585de682bb0ecdf7cf7b (patch)
tree80bc7eede025cd98983c0bcb271859ceed30fa1f /libdimension/bench/prtree.c
parent1de647b9d38528b640f8da473d50c04ef0674c58 (diff)
downloaddimension-c9c85a530402541518dd585de682bb0ecdf7cf7b.tar.xz
array: Add DMNSN_NEW_ARRAY macro.
Diffstat (limited to 'libdimension/bench/prtree.c')
-rw-r--r--libdimension/bench/prtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/bench/prtree.c b/libdimension/bench/prtree.c
index 11d831b..f05f04c 100644
--- a/libdimension/bench/prtree.c
+++ b/libdimension/bench/prtree.c
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2009-2012 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2009-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Benchmark Suite. *
* *
@@ -79,7 +79,7 @@ main(void)
return EXIT_FAILURE;
}
- dmnsn_array *objects = dmnsn_new_array(sizeof(dmnsn_object *));
+ dmnsn_array *objects = DMNSN_NEW_ARRAY(dmnsn_object *);
dmnsn_texture *texture = dmnsn_new_texture();
texture->pigment = dmnsn_new_pigment();
for (size_t i = 0; i < nobjects; ++i) {