X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=pico%2Fcd%2Fcd_image.c;h=5638c9be0dd030e3d658314a1d265df1b891d0ff;hb=d0eab7dae887dd75a33cfbb4c5a60f535d7fece3;hp=ae2ef0cdf7f5e1da17905e9c97afbc4fa2de11f7;hpb=29cdf77cf3932c36afddb98df1f06c4e6aba7a73;p=picodrive.git diff --git a/pico/cd/cd_image.c b/pico/cd/cd_image.c index ae2ef0c..5638c9b 100644 --- a/pico/cd/cd_image.c +++ b/pico/cd/cd_image.c @@ -11,6 +11,10 @@ #include "cdd.h" #include "cue.h" +#if defined(__GNUC__) && __GNUC__ >= 7 +#pragma GCC diagnostic ignored "-Wformat-truncation" +#endif + static int handle_mp3(const char *fname, int index) { track_t *track = &cdd.toc.tracks[index];