use the right type of cast

This commit is contained in:
Konstantinos Margaritis
2023-10-04 23:35:10 +03:00
parent 72afe16452
commit 35c0711689
2 changed files with 4 additions and 4 deletions

View File

@@ -678,7 +678,7 @@ TEST(SimdUtilsTest, movq) {
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
#endif // defined(__clang__) && (__clang_major__ == 15)
int64x2_t a = {0x123456789abcdefLL, ~0LL };
simd = static_cast<m128>(a);
simd = reinterpret_cast<m128>(a);
#if defined(__clang__) && (__clang_major__ >= 15)
#pragma clang diagnostic pop
#endif // defined(__clang__) && (__clang_major__ == 15)