diff --git a/src/mono/mono/mini/interp/interp-simd.c b/src/mono/mono/mini/interp/interp-simd.c index 4b3ca913c6e5c0..cd0b83c274553a 100644 --- a/src/mono/mono/mini/interp/interp-simd.c +++ b/src/mono/mono/mini/interp/interp-simd.c @@ -32,7 +32,7 @@ interp_v128_i4_all_bits_set (gpointer res) static void interp_v128_bitcast (gpointer res, gpointer v1) { - *(v128_i1*)res = *(v128_i1*)v1; + memcpy (res, v1, SIZEOF_V128); } // op_Addition