From 7131cd07480129662a3cc9746e582eb1345102c0 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Tue, 1 Aug 2017 20:52:56 +0700 Subject: [PATCH] Fix GodotVariant size for 32-bit platforms --- godot/internal/godotvariants.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godot/internal/godotvariants.nim b/godot/internal/godotvariants.nim index 56a125d..39d36eb 100644 --- a/godot/internal/godotvariants.nim +++ b/godot/internal/godotvariants.nim @@ -46,7 +46,7 @@ type expected*: VariantType GodotVariant* {.byref.} = object - data: array[24, byte] + data: array[16 + sizeof(int), byte] import godotobjects, godotarrays, godotpoolarrays, godotstrings, godotnodepaths, godotdictionaries