mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
C#: Fix missing CowData 64-bit promotion for PackedInt32Array
.
This commit is contained in:
parent
9050ee1542
commit
8245157682
@ -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…
Reference in New Issue
Block a user