1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00
This commit is contained in:
Brian Fiete 2023-10-10 11:55:36 -07:00
parent a80f52c2a1
commit 70ab03529e

View file

@ -70,7 +70,7 @@ namespace System
{
for (var dtorEntry in ref mDtorEntriesEx)
{
uint8* ptr = mPools[dtorEntry.mPoolIdx].Ptr + (int)dtorEntry.mPoolOfs;
uint8* ptr = mPools[(int)dtorEntry.mPoolIdx].Ptr + dtorEntry.mPoolOfs;
Object obj = Internal.UnsafeCastToObject(ptr);
delete:null obj;
}