As of GCC14, GCC no longer allows implicitly casting all pointer types to all other pointer types. We can fix this error, by adding the appropriate cast. This patch is a port of a Gentoo patch. Link: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-sound/musepack-tools/files/musepack-tools-495-incompatible-pointers.patch Fixes: https://autobuild.buildroot.org/results/6412fc37d533dff27f18b09c668870bebff2bec5/ Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>