mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Cast fix
This commit is contained in:
parent
a80f52c2a1
commit
70ab03529e
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace System
|
||||||
{
|
{
|
||||||
for (var dtorEntry in ref mDtorEntriesEx)
|
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);
|
Object obj = Internal.UnsafeCastToObject(ptr);
|
||||||
delete:null obj;
|
delete:null obj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue