diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2019-03-05 23:03:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-05 23:03:25 +0100 |
commit | 6492de800faf9715f910b648089be436771a3153 (patch) | |
tree | 0c4660196f49525b884e14d811eb1dee9c120acd /modules | |
parent | 85eb381a0439a751f3b171bac510b8eb93045a38 (diff) | |
parent | c6ac7333a63453892d7fca2075d4141206085cc5 (diff) |
Merge pull request #26661 from neikeq/issue-17601
Mono: Fix array field being assigned MonoArray** instead of MonoArray*
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_field.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_field.cpp b/modules/mono/mono_gd/gd_mono_field.cpp index 48fa380456..5e9d4db122 100644 --- a/modules/mono/mono_gd/gd_mono_field.cpp +++ b/modules/mono/mono_gd/gd_mono_field.cpp @@ -49,7 +49,7 @@ void GDMonoField::set_value_from_variant(MonoObject *p_object, const Variant &p_ #define SET_FROM_ARRAY(m_type) \ { \ MonoArray *managed = GDMonoMarshal::m_type##_to_mono_array(p_value.operator ::m_type()); \ - mono_field_set_value(p_object, mono_field, &managed); \ + mono_field_set_value(p_object, mono_field, managed); \ } switch (type.type_encoding) { |