fix MAllocArray

This commit is contained in:
Matthew 2025-08-17 07:58:01 +10:00
parent 882aca87dc
commit 62bf563027

View File

@ -25,7 +25,7 @@ T[]
MAllocArray(T)(u64 count)
{
void* mem = MemAlloc(T.sizeof * count);
return cast(T*)(mem)[0 .. count];
return (cast(T*)mem)[0 .. count];
}
void