summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/method_bind.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/godot_cpp/core/method_bind.hpp')
-rw-r--r--include/godot_cpp/core/method_bind.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp
index 953a305..155a765 100644
--- a/include/godot_cpp/core/method_bind.hpp
+++ b/include/godot_cpp/core/method_bind.hpp
@@ -182,7 +182,7 @@ public:
for (int i = 0; i < p_method_info.arguments.size(); i++) {
names.push_back(p_method_info.arguments[i].name.utf8().get_data());
arguments.push_back(GDNativePropertyInfo{
- static_cast<uint32_t>(p_method_info.arguments[i].type), // uint32_t type;
+ static_cast<GDNativeVariantType>(p_method_info.arguments[i].type), // GDNativeVariantType type;
_alloc_and_copy_cstr(p_method_info.arguments[i].name.utf8().get_data()), // const char *name;
_alloc_and_copy_cstr(p_method_info.arguments[i].class_name.utf8().get_data()), // const char *class_name;
p_method_info.arguments[i].hint, // NONE //uint32_t hint;