{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1739982418,"commit_time":1739984603,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"ee3f657607e32bf6c252e1732b47405be065881f","message":"build: silence bogus `-Wconversion` warnings with gcc 5.1-5.4\n\nIt's fixed in gcc 5.5.0.\n\nExample: https://godbolt.org/z/x6Th8q844\n\nSeen in gcc 5.1.0, 5.4.0 (both 32/64-bit) with dl-mingw:\n```\nlib/rtsp.c: In function 'rtsp_parse_transport':\nlib/rtsp.c:1025:36: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]\n           rtp_channel_mask[idx] |= (unsigned char)(1 << off);\n                                    ^\nlib/mprintf.c: In function 'parsefmt':\nlib/mprintf.c:526:31: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]\n         usedinput[width/8] |= (unsigned char)(1 << (width&7));\n                               ^\nlib/mprintf.c:544:35: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]\n         usedinput[precision/8] |= (unsigned char)(1 << (precision&7));\n                                   ^\nlib/mprintf.c:559:29: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]\n       usedinput[param/8] |= (unsigned char)(1 << (param&7));\n                             ^\nlib/cfilters.c: In function 'Curl_pollset_change':\nlib/cfilters.c:935:25: error: conversion to 'unsigned char' from 'int' may alter its value [-Werror=conversion]\n       ps->actions[i] |= (unsigned char)add_flags;\n                         ^\n```\ngcc 5.1.0: https://github.com/curl/curl/actions/runs/13413103492/job/37467698381#step:9:21\ngcc 5.4.0: https://github.com/curl/curl/actions/runs/13413103492/job/37467694479#step:9:19\n\nCloses #16398\n","parents":["f0d73181932d1048703ba309a6051c298c013c28"],"tree_hash":"4c1987042fa7d2427e8970514dc4dac25e2c4ecb"}