> -Original Message-
> From: Eads, Gage
> Sent: Saturday, June 15, 2019 3:50 AM
> To: Phil Yang (Arm Technology China) ; dev@dpdk.org
> Cc: nd ; Honnappa Nagarahalli
> ; Gavin Hu (Arm Technology China)
>
> Subject: RE: [PATCH] eal/stack: fix 'pointer-sign' warning
>
> > clang raise 'poin
> clang raise 'pointer-sign' warnings in __atomic_compare_exchange when
> passing 'uint64_t *' to parameter of type 'int64_t *' converts between
> pointers to integer types with different sign.
>
> Fixes: 7e6e609939a8 ("stack: add C11 atomic implementation")
>
> Signed-off-by: Phil Yang
> Review
clang raise 'pointer-sign' warnings in __atomic_compare_exchange
when passing 'uint64_t *' to parameter of type 'int64_t *' converts
between pointers to integer types with different sign.
Fixes: 7e6e609939a8 ("stack: add C11 atomic implementation")
Signed-off-by: Phil Yang
Reviewed-by: Honnappa
3 matches
Mail list logo