diff options
| author | WormHeamer | 2025-12-19 17:20:37 -0500 |
|---|---|---|
| committer | WormHeamer | 2025-12-19 17:20:37 -0500 |
| commit | 7550c8999068a9a938580921dd6734bdce340c5c (patch) | |
| tree | dc27021fc18f7cb1316c6ee3a644ff6a37a18c4e | |
| parent | a73f1409d372d88ddcac7dfa68cd685ac1aab9d4 (diff) | |
parenthesize macro arg
| -rw-r--r-- | arena.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ typedef struct { (t*)arena_zeroed(arena_alloc(a, sizeof(t), _Alignof(t)), sizeof(t)) #define new_arr(a, t, n)\ - arena_alloc(a, sizeof(t) * n, _Alignof(t)) + arena_alloc(a, sizeof(t) * (n), _Alignof(t)) #define resize(a, p, old, new)\ arena_realloc(a, p, (old) * sizeof(*(p)), (new) * sizeof(*(p)),\ |
