aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy_mem.c')
-rw-r--r--teensy/teensy_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/teensy_mem.c b/teensy/teensy_mem.c
index 7e8dd58..40882a7 100644
--- a/teensy/teensy_mem.c
+++ b/teensy/teensy_mem.c
@@ -101,7 +101,7 @@ void *ty_alloc(size_t size)
allocations_cap *= 2;
allocations = realloc(
allocations,
- sizeof(struct alloc) * allocations_cap
+ sizeof(Alloc) * allocations_cap
);
if (!allocations)
ty_log_fatal(