diff --git a/include/perm16_impl.hpp b/include/perm16_impl.hpp index 2637a4d2..b2d74a45 100644 --- a/include/perm16_impl.hpp +++ b/include/perm16_impl.hpp @@ -129,7 +129,8 @@ inline Transf16::Transf16(uint64_t compressed) { } inline Transf16::operator uint64_t() const { - epu8 res = static_cast(simde_mm_slli_epi32(v, 4)); + epu8 res = + static_cast(simde_mm_slli_epi32(static_cast(v), 4)); res = HPCombi::permuted(res, hilo_exchng) + v; return simde_mm_extract_epi64(res, 0); }