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:47:46 -07:00
parent a34e5a737d
commit a80f52c2a1

View file

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