mbox series

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

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

Message

Adhemerval Zanella Netto Jan. 5, 2024, 5:17 p.m. UTC
The tst-stdbit-Wconversion test triggers some warnings with older
gcc and also with clang.  Although these warnings might be considered
false alarms, it would be good to avoid them 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(-)

Comments

Joseph Myers Jan. 5, 2024, 5:31 p.m. UTC | #1
These patches are OK.