mirror of
https://github.com/godotengine/godot.git
synced 2024-11-11 06:33:10 +00:00
Merge pull request #47968 from neikeq/issue-47898
[3.x] C#: Fix `double` casting in wasm m2n trampolines
This commit is contained in:
commit
264d952a18
@ -201,7 +201,7 @@ struct m2n_arg_cast_helper<T, 'F'> {
|
||||
template <typename T>
|
||||
struct m2n_arg_cast_helper<T, 'D'> {
|
||||
static T cast(Mono_InterpMethodArguments *p_margs, size_t p_idx) {
|
||||
return (T)(size_t)p_margs->fargs[p_idx];
|
||||
return (T)p_margs->fargs[p_idx];
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user