Merge pull request #88268 from zaevi/dotnet/fix_64bit_promotion
C#: Fix missing CowData 64-bit promotion for `PackedInt32Array`.
This commit is contained in:
commit
fb688b38d1
1 changed files with 1 additions and 1 deletions
|
|
@ -962,7 +962,7 @@ namespace Godot.NativeInterop
|
|||
public readonly unsafe int Size
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get => _ptr != null ? *(_ptr - 1) : 0;
|
||||
get => _ptr != null ? (int)(*((ulong*)_ptr - 1)) : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue