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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue