summarylogtreecommitdiffstats
path: root/0001_set_gus_bank_fix.patch
blob: edfba4850df6141c6f1f0ee37055d693a5ef169a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This patch fixes a compile-time issue with GCC 14

From https://github.com/tiwai/awesfx/issues/3
--- a/alsa.c
+++ b/alsa.c
@@ -139,7 +139,7 @@
 	return snd_hwdep_ioctl(hwdep, SNDRV_EMUX_IOCTL_MISC_MODE, &mode);
 }
 
-void seq_set_gus_bank(int bank)
+int seq_set_gus_bank(int bank)
 {
 	struct sndrv_emux_misc_mode mode;
 	mode.port = -1;