mbox series

[0/2] stdlib: Fix stdbit.h with -Wconversion

Message ID 20240104194731.2357574-1-adhemerval.zanella@linaro.org
Headers show
Series stdlib: Fix stdbit.h with -Wconversion | expand

Message

Adhemerval Zanella Netto Jan. 4, 2024, 7:47 p.m. UTC
The tst-stdbit-Wconversion tests triggers some warnings with older
gcc and also with clang.  Although these warning might be considered
false alarm, it would be good to avoid it on a standard header if
possible.

Adhemerval Zanella (2):
  stdlib: Fix stdbit.h with -Wconversion for older gcc
  stdlib: Fix stdbit.h with -Wconversion for clang

 stdlib/stdbit.h | 55 +++++++++++++++++++++++++++++++++----------------
 1 file changed, 37 insertions(+), 18 deletions(-)