diff --git a/sse2neon.h b/sse2neon.h index 73cf5a91..8a20f088 100644 --- a/sse2neon.h +++ b/sse2neon.h @@ -132,7 +132,7 @@ #include #include -FORCE_INLINE double recast_f64(uint64_t *u64) { +FORCE_INLINE double recast_f64(uint64_t u64) { double f64; memcpy(&f64, u64, sizeof(uint64_t)); return f64; @@ -4199,7 +4199,7 @@ FORCE_INLINE int32_t _mm_cvttsd_si32(__m128d a) { double _a; _a = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(a), 0)); - return (int32_t) _a.f64; + return (int32_t) _a; } // Convert the lower double-precision (64-bit) floating-point element in a to a