We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da26c17 commit 07fdd23Copy full SHA for 07fdd23
1 file changed
include/godot_cpp/core/binder_common.hpp
@@ -56,7 +56,7 @@ namespace godot {
56
} \
57
typedef int64_t EncodeT; \
58
_FORCE_INLINE_ static void encode(m_enum p_val, void *p_ptr) { \
59
- *reinterpret_cast<int64_t *>(p_ptr) = p_val; \
+ *reinterpret_cast<int64_t *>(p_ptr) = static_cast<int64_t>(p_val); \
60
61
}; \
62
}
@@ -77,7 +77,7 @@ namespace godot {
77
78
79
_FORCE_INLINE_ static void encode(BitField<m_enum> p_val, void *p_ptr) { \
80
81
82
83
0 commit comments