summaryrefslogblamecommitdiff
path: root/user/dosbox/constness.patch
blob: e7fcea8bb0c1e1a374a5fb5682864203feaa37d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                           
--- dosbox-x-dosbox-x-wip-20180513-1316/src/gui/midi_synth.h.old	2018-05-13 19:52:17.000000000 +0000
+++ dosbox-x-dosbox-x-wip-20180513-1316/src/gui/midi_synth.h	2019-03-20 21:27:44.400000000 +0000
@@ -28,7 +28,7 @@
 static fluid_synth_t *synth_soft = NULL;
 static int synthsamplerate = 0;
 
-static void synth_log(int level, char *message, void *data) {
+static void synth_log(int level, const char *message, void *data) {
 	switch (level) {
 	case FLUID_PANIC:
 	case FLUID_ERR: