Skip to content

Commit

Permalink
Add temporary fix for 32-bit builds (godot-cpp/issues/220, need more …
Browse files Browse the repository at this point in the history
…investigation)
  • Loading branch information
bruvzg committed Dec 7, 2019
1 parent 7988bb8 commit 7fea9ad
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patch_gdcpp_pad_32bit_variant.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp
index 5f40013..b011735 100644
--- a/include/core/Variant.hpp
+++ b/include/core/Variant.hpp
@@ -30,6 +30,7 @@ class Array;

class Variant {
godot_variant _godot_variant;
+ uint8_t _pad[6];

public:
enum Type {

0 comments on commit 7fea9ad

Please sign in to comment.