tools: b43-tools: fix compilation with GCC14
authorRobert Marko <robimarko@gmail.com>
Fri, 29 Mar 2024 17:57:03 +0000 (18:57 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 28 Apr 2024 09:31:02 +0000 (11:31 +0200)
commit5f07510cdc3e4712e7be3f9c4e99c8bb43522a9f
treef0bb811619207a25cd3edb9100f18599fe24e828
parenteede9b1bc4404ae19dc86aeee13ffe5f485115c1
tools: b43-tools: fix compilation with GCC14

GCC14 no longer treats integer types and pointer types as equivalent in
assignments (including implied assignments of function arguments and return
values), and instead fails the compilation with a type error.

So, as a workaround lets disable the newly introduced error
-Werror=int-conversion and just make it print a warning to enable compiling
with GCC14 as Fedora 40 now defaults to it.

(cherry picked from commit 0c96d20bf9fba6d814efa88c6fb08a5df094103a)
Link: https://github.com/openwrt/openwrt/pull/15309
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/b43-tools/Makefile