mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
use the right type of cast
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user