fixup _Generic macro usage

distinct macros failed (didn't realize). Was able to get proper setup with _Generic_L2 pattern
This commit is contained in:
2025-02-12 00:19:04 -05:00
parent 90836817e9
commit d80a6b61da
16 changed files with 188 additions and 178 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ varena_allocator_proc(void* allocator_data, AllocatorMode mode, SSIZE requested_
{
case AllocatorMode_Alloc:
{
assert(requested_size != 0);
assert_msg(requested_size != 0, "requested_size is 0");
requested_size = align_pow2(requested_size, alignment);