summaryrefslogtreecommitdiffstats
path: root/src/alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.h')
-rw-r--r--src/alloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.h b/src/alloc.h
index 5f0c423..fd3e5f0 100644
--- a/src/alloc.h
+++ b/src/alloc.h
@@ -132,11 +132,11 @@ void *zalloc(size_t align, size_t size);
/** Allocate memory for an array. */
#define ALLOC_ARRAY(type, count) \
- (type *)alloc(alignof(type), sizeof_array(type, count));
+ (type *)alloc(alignof(type), sizeof_array(type, count))
/** Allocate zeroed memory for an array. */
#define ZALLOC_ARRAY(type, count) \
- (type *)zalloc(alignof(type), sizeof_array(type, count));
+ (type *)zalloc(alignof(type), sizeof_array(type, count))
/** Allocate memory for a flexible struct. */
#define ALLOC_FLEX(type, member, count) \