aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-10 22:35:27 -0800
committerChris Robinson <[email protected]>2023-12-10 22:35:27 -0800
commita28bf538afabca45298a43e5d2acf3e6149a2c2c (patch)
tree3d879f0598d29baa43d3dbd133c52e58889000b8
parentbb3387b0fc5d3071a30c6d003b415dc6e77f3d62 (diff)
Fix a pointer cast
-rw-r--r--core/mixer/mixer_neon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mixer/mixer_neon.cpp b/core/mixer/mixer_neon.cpp
index cbaf2d3d..6e26703b 100644
--- a/core/mixer/mixer_neon.cpp
+++ b/core/mixer/mixer_neon.cpp
@@ -149,8 +149,8 @@ void Resample_<LerpTag,NEONTag>(const InterpState*, const float *RESTRICT src, u
alignas(16) std::array<uint,4> pos_, frac_;
InitPosArrays(frac, increment, al::span{frac_}, al::span{pos_});
- int32x4_t frac4 = vld1q_s32(reinterpret_cast<int*>(frac_));
- int32x4_t pos4 = vld1q_s32(reinterpret_cast<int*>(pos_));
+ int32x4_t frac4 = vld1q_s32(reinterpret_cast<int*>(frac_.data()));
+ int32x4_t pos4 = vld1q_s32(reinterpret_cast<int*>(pos_.data()));
auto dst_iter = dst.begin();
for(size_t todo{dst.size()>>2};todo;--todo)