notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
deal with some gcc7+ warnings
[picodrive.git]
/
pico
/
cd
/
cd_image.c
diff --git
a/pico/cd/cd_image.c
b/pico/cd/cd_image.c
index
ae2ef0c
..
5638c9b
100644
(file)
--- 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];