summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch')
-rw-r--r--media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch b/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch
deleted file mode 100644
index 165db470592..00000000000
--- a/media-sound/drumstick/files/0.5.0-gcc6-narrowing.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Fix GCC 6 failures caused by -Wnarrowing
-
---- a/utils/buildsmf/buildsmf.cpp
-+++ b/utils/buildsmf/buildsmf.cpp
-@@ -53,8 +53,8 @@
- m_engine->writeKeySignature(0, 2, major_mode); // D major (2 sharps)
-
- // system exclusive event
-- static char gsreset[] = { 0xf0, 0x41, 0x10, 0x42, 0x12,
-- 0x40, 0x00, 0x7f, 0x00, 0x41, 0xf7 };
-+ static char gsreset[] = { (char)0xf0, 0x41, 0x10, 0x42, 0x12,
-+ 0x40, 0x00, 0x7f, 0x00, 0x41, (char)0xf7 };
- m_engine->writeMidiEvent(0, system_exclusive, sizeof(gsreset), gsreset);
-
- // some note events
---- a/utils/testevents/testevents.cpp
-+++ b/utils/testevents/testevents.cpp
-@@ -262,7 +262,7 @@
- dumpEvent(new KeyPressEvent(5, 60, 124));
- dumpEvent(new ChanPressEvent(6, 111));
- dumpEvent(new PitchBendEvent(7, 1234));
-- char sysex[] = {0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, 0xf7};
-+ char sysex[] = {(char)0xf0, 0x41, 0x10, 0x42, 0x12, 0x40, 0, 0x7f, 0, 0x41, (char)0xf7};
- dumpEvent(new SysExEvent(QByteArray(sysex, sizeof(sysex))));
- QString text = "This can be a copyright, song name, instrument, lyric...";
- TextEvent te(text, 3);