From 84352c71cae948002e130922f79a0bca13a14f2c Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:19:28 +0100 Subject: [PATCH] Fix arm64 builds (attempt number 2) --- src/crypto/randomx/intrin_portable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/randomx/intrin_portable.h b/src/crypto/randomx/intrin_portable.h index 8f7e140dc..fbf01e375 100644 --- a/src/crypto/randomx/intrin_portable.h +++ b/src/crypto/randomx/intrin_portable.h @@ -420,7 +420,7 @@ inline void* rx_aligned_alloc(size_t size, size_t align) { # define rx_aligned_free(a) free(a) #endif -inline void rx_prefetch_nta(void* ptr) { +inline void rx_prefetch_nta(const void* ptr) { asm volatile ("prfm pldl1strm, [%0]\n" : : "r" (ptr)); }