curl/m4
Viktor Szakats ee3f657607
build: silence bogus -Wconversion warnings with gcc 5.1-5.4
It's fixed in gcc 5.5.0.

Example: https://godbolt.org/z/x6Th8q844

Seen in gcc 5.1.0, 5.4.0 (both 32/64-bit) with dl-mingw:
```
lib/rtsp.c: In function 'rtsp_parse_transport':
lib/rtsp.c:1025:36: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]
           rtp_channel_mask[idx] |= (unsigned char)(1 << off);
                                    ^
lib/mprintf.c: In function 'parsefmt':
lib/mprintf.c:526:31: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]
         usedinput[width/8] |= (unsigned char)(1 << (width&7));
                               ^
lib/mprintf.c:544:35: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]
         usedinput[precision/8] |= (unsigned char)(1 << (precision&7));
                                   ^
lib/mprintf.c:559:29: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]
       usedinput[param/8] |= (unsigned char)(1 << (param&7));
                             ^
lib/cfilters.c: In function 'Curl_pollset_change':
lib/cfilters.c:935:25: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]
       ps->actions[i] |= (unsigned char)add_flags;
                         ^
```
gcc 5.1.0: https://github.com/curl/curl/actions/runs/13413103492/job/37467698381#step:9:21
gcc 5.4.0: https://github.com/curl/curl/actions/runs/13413103492/job/37467694479#step:9:19

Closes #16398
2025-02-19 18:03:23 +01:00
..
.gitignore tidy-up: .gitignore lines mostly 2025-01-27 20:59:46 +01:00
curl-amissl.m4 Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl-bearssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-compilers.m4 build: silence bogus -Wconversion warnings with gcc 5.1-5.4 2025-02-19 18:03:23 +01:00
curl-confopts.m4 build: fix compiler warnings in feature detections 2025-02-16 02:39:35 +01:00
curl-functions.m4 lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl-gnutls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-mbedtls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-openssl.m4 build: fix compiler warnings in feature detections 2025-02-16 02:39:35 +01:00
curl-override.m4 build: fix compiler warnings in feature detections 2025-02-16 02:39:35 +01:00
curl-reentrant.m4 lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl-rustls.m4 configure: use curl_cv_apple variable 2025-02-16 02:03:16 +01:00
curl-schannel.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sectransp.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sysconfig.m4 configure: use curl_cv_apple variable 2025-02-16 02:03:16 +01:00
curl-wolfssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
xc-am-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-cc-check.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-lt-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-val-flgs.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
zz40-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz50-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz60-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00