1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

SingleAllocator typo fix

This commit is contained in:
Brian Fiete 2022-09-07 15:36:16 -07:00
parent 266b351f72
commit 17dc755ee7

View file

@ -82,7 +82,7 @@ namespace System
mType = type; mType = type;
do do
{ {
if (size > size) if (size > mSize)
break; break;
void* usePtr = (void*)(int)Math.Align((int)mPtr, align); void* usePtr = (void*)(int)Math.Align((int)mPtr, align);
if ((uint8*)usePtr + size > (uint8*)mPtr + mSize) if ((uint8*)usePtr + size > (uint8*)mPtr + mSize)