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

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 26 07:00:04 UTC 2024


On 25.03.24 21:44, berndmoessner80 at gmail.com wrote:
> 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

Thanks, I checked it in.

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list