[PATCH rtems6] Fix: type-cast to wrong type

berndmoessner80 at gmail.com berndmoessner80 at gmail.com
Mon Mar 25 20:44:14 UTC 2024


From: Bernd Moessner <berndmoessner80 at gmail.com>

---
 bsps/include/bsp/irq-generic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h
index 5ed9cac688..31f345486f 100644
--- a/bsps/include/bsp/irq-generic.h
+++ b/bsps/include/bsp/irq-generic.h
@@ -417,7 +417,7 @@ static inline void bsp_interrupt_entry_store_release(
 #if defined(RTEMS_SMP)
   _Atomic_Store_uintptr(
     (Atomic_Uintptr *) ptr,
-    (Atomic_Uintptr) value,
+    (uintptr_t) value,
     ATOMIC_ORDER_RELEASE
   );
 #else
-- 
2.34.1



More information about the devel mailing list